From 569398549e0495db2ce123404f469d358edd329f Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Sat, 22 Jul 2023 15:43:44 +0200 Subject: [PATCH] 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. --- .github/actions/steam-upload/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/steam-upload/action.yaml b/.github/actions/steam-upload/action.yaml index a149962d7..968d188ff 100644 --- a/.github/actions/steam-upload/action.yaml +++ b/.github/actions/steam-upload/action.yaml @@ -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