Trying to run w/o and then w/ the steamgaurd code
This commit is contained in:
@ -148,15 +148,13 @@ jobs:
|
|||||||
- name: Publish to Steam
|
- name: Publish to Steam
|
||||||
run: |
|
run: |
|
||||||
cd $PROJECT_PATH
|
cd $PROJECT_PATH
|
||||||
# First, try to login without Steam Guard to check if we have cached auth
|
# Try without Steam Guard first (for cached auth)
|
||||||
/home/steam/steamcmd/steamcmd.sh +login "${{ vars.STEAM_BUILD_USERNAME }}" "${{ secrets.STEAM_BUILD_PASSWORD }}" +quit || echo "Login failed, trying with Steam Guard"
|
/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
|
- name: Write Cache
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ./steam_cache
|
mkdir -p ./steam_cache
|
||||||
|
|||||||
Reference in New Issue
Block a user