diff --git a/.gitea/workflows/godot-ci.yml b/.gitea/workflows/godot-ci.yml index 7a301f1..efa42f0 100644 --- a/.gitea/workflows/godot-ci.yml +++ b/.gitea/workflows/godot-ci.yml @@ -141,14 +141,12 @@ jobs: steam-cache-${{ runner.os }}- steam-cache- - # - name: Read Cache - # run: | - # # The Read Cache step is now handled by the actions/cache@v3 restore process. - # # This step can be removed or left for debugging. - # echo "Files in steamcmd directory:" - # ls -la ~/steamcmd/ - # echo "Files in steamcmd config directory:" - # ls -la ~/steamcmd/config/ + - name: Read Cache + run: | + # The Read Cache step is now handled by the actions/cache@v3 restore process. + # This step can be removed or left for debugging. + echo "Files in steamcmd directory:" + ls -la ~/steamcmd/ - name: Update VDF run: | @@ -161,13 +159,6 @@ jobs: cd $PROJECT_PATH ~/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 - - # # Try without Steam Guard first (for cached auth) - # ~/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 || { - # echo "Login failed, trying with Steam Guard" - # # If that fails, use Steam Guard in single session - # ~/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 - # } # - name: Write Cache # run: |