CI: Fix steamcmd being unable to find generated build file

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.
This commit is contained in:
PatTheMav 2023-07-22 15:43:44 +02:00 committed by Lain
parent bdc2da6e48
commit 569398549e

View file

@ -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
@ -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