Trying to run w/o and then w/ the steamgaurd code
All checks were successful
godot-ci export / Windows Export (push) Successful in 1m16s
godot-ci export / Linux Export (push) Successful in 1m16s
godot-ci export / Steam Publish (push) Successful in 1m26s

This commit is contained in:
2025-07-06 09:07:19 -07:00
parent c7c4d3abff
commit f772e1561d

View File

@ -148,15 +148,13 @@ jobs:
- name: Publish to Steam
run: |
cd $PROJECT_PATH
# 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"
# Try without Steam Guard first (for cached auth)
/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 || {
echo "Login failed, trying with Steam Guard"
# If that fails, use Steam Guard in single session
/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
}
# 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