Further cache debuggin yippie
Some checks failed
godot-ci export / Windows Export (push) Successful in 1m16s
godot-ci export / Linux Export (push) Successful in 1m15s
godot-ci export / Steam Publish (push) Failing after 1m23s

This commit is contained in:
2025-07-06 08:08:51 -07:00
parent 59777d6256
commit c7c4d3abff

View File

@ -148,13 +148,29 @@ jobs:
- name: Publish to Steam
run: |
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
# First, try to login without Steam Guard to check if we have cached auth
/home/steam/steamcmd/steamcmd.sh +login "${{ vars.STEAM_BUILD_USERNAME }}" "${{ secrets.STEAM_BUILD_PASSWORD }}" +quit || echo "Login failed, trying with Steam Guard"
# If that fails, login with Steam Guard code
/home/steam/steamcmd/steamcmd.sh +set_steam_guard_code "${{ secrets.STEAM_GUARD_CODE }}" +login "${{ vars.STEAM_BUILD_USERNAME }}" "${{ secrets.STEAM_BUILD_PASSWORD }}" +quit
# Now run the actual build
/home/steam/steamcmd/steamcmd.sh +login "${{ vars.STEAM_BUILD_USERNAME }}" "${{ secrets.STEAM_BUILD_PASSWORD }}" +run_app_build "$PWD/build/build_dependencies/steam/app_build_2739610.vdf" +quit
- name: Write Cache
run: |
mkdir -p ./steam_cache
# Debug: Show all files in Steam directory
echo "All files in /home/steam/Steam:"
find /home/steam/Steam -type f -name "*" 2>/dev/null | head -20
# Copy config file
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"
# Look for sentry files in various locations
cp /home/steam/Steam/ssfn* ./steam_cache/ 2>/dev/null || echo "No sentry files in /home/steam/Steam/"
cp /home/steam/Steam/config/ssfn* ./steam_cache/ 2>/dev/null || echo "No sentry files in /home/steam/Steam/config/"
echo "Files cached:"
ls -la ./steam_cache/ 2>/dev/null || echo "No cache directory"