Only one try now, with steam gaurd code
This commit is contained in:
@ -159,12 +159,15 @@ jobs:
|
|||||||
- name: Publish to Steam
|
- name: Publish to Steam
|
||||||
run: |
|
run: |
|
||||||
cd $PROJECT_PATH
|
cd $PROJECT_PATH
|
||||||
# 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
|
~/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
|
# - name: Write Cache
|
||||||
# run: |
|
# run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user