mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user