Skip to content

Commit

Permalink
CI: Fix steamcmd being unable to find generated build file
Browse files Browse the repository at this point in the history
steamcmd seems to have a quirk where it cannot find a file in the
current working directory on macOS, but requires the absolute path
to the file instead - using the `:a` Zsh modifier yields the absolute
path of a valid filename in the current directory scope.
  • Loading branch information
PatTheMav authored and Lain-B committed Jul 22, 2023
1 parent bdc2da6 commit 5693985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/steam-upload/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ runs:
steamcmd \
+login '${{ inputs.steamUser }}' '${{ inputs.steamPassword }}' '${{ steps.steam-totp.outputs.code }}' \
+run_app_build ${preview:+-preview} ${build_file} \
+run_app_build ${preview:+-preview} ${build_file:a} \
+quit
print '::endgroup'
popd
Expand Down Expand Up @@ -275,7 +275,7 @@ runs:
steamcmd \
+login '${{ inputs.steamUser }}' '${{ inputs.steamPassword }}' '${{ steps.steam-totp.outputs.code }}' \
+run_app_build ${preview} ${build_file} \
+run_app_build ${preview} ${build_file:a} \
+quit
print '::endgroup'
popd
Expand Down

0 comments on commit 5693985

Please sign in to comment.