Proper caching idk im dying here
All checks were successful
godot-ci export / Windows Export (push) Successful in 1m16s
godot-ci export / Linux Export (push) Successful in 1m18s
godot-ci export / Steam Publish (push) Successful in 1m17s

This commit is contained in:
2025-07-06 07:52:12 -07:00
parent 784d8e291e
commit 6bfb04335a

View File

@ -116,8 +116,8 @@ jobs:
name: linux
path: build/bin/linux
# Restore Steam cache
- name: Restore Steam Cache
# Restore Cache
- name: Restore Cache
uses: https://gitea.com/actions/cache@v3
with:
path: |
@ -128,12 +128,17 @@ jobs:
steam-cache-${{ runner.os }}-
steam-cache-
# Read Cache
- name: Read Cache
run: |
mkdir -p ./steam_cache
mkdir -p /home/steam/Steam/config
cp ./steam_cache/config.vdf /home/steam/Steam/config/ 2>/dev/null || echo "No cached config file"
cp ./steam_cache/ssfn* /home/steam/Steam/ 2>/dev/null || echo "No cached sentry file"
echo "Files in cache:"
ls -la ./steam_cache/ 2>/dev/null || echo "No cache directory"
echo "Files in Steam directory:"
ls -la /home/steam/Steam/ 2>/dev/null || echo "No Steam directory"
- name: Update VDF
run: |
@ -146,9 +151,11 @@ jobs:
cd $PROJECT_PATH
/home/steam/steamcmd/steamcmd.sh +set_steam_guard_code "${{ secrets.STEAM_GUARD_CODE }}" +login "${{ vars.STEAM_BUILD_USERNAME }}" "${{ secrets.STEAM_BUILD_PASSWORD }}" +run_app_build "$PWD/build/build_dependencies/steam/app_build_2739610.vdf" +quit
# Write cache
- name: Cache Config and sentry
- name: Write Cache
run: |
mkdir -p ./steam_cache
cp /home/steam/Steam/config/config.vdf ./steam_cache/ 2>/dev/null || echo "No config file to cache"
cp /home/steam/Steam/ssfn* ./steam_cache/ 2>/dev/null || echo "No sentry files to cache"
cp /home/steam/Steam/ssfn* ./steam_cache/ 2>/dev/null || echo "No sentry files to cache"
echo "Files cached:"
ls -la ./steam_cache/ 2>/dev/null || echo "No cache directory"