diff --git a/.github/workflows/cooker-selfhosted.yml b/.github/workflows/cooker-selfhosted.yml index 4337b89c..67c58423 100644 --- a/.github/workflows/cooker-selfhosted.yml +++ b/.github/workflows/cooker-selfhosted.yml @@ -44,7 +44,7 @@ jobs: org.freedesktop.Sdk.Extension.dotnet6/x86_64/21.08 echo ${GITHUB_WORKSPACE} #DEBUG df -h ${GITHUB_WORKSPACE} #DEBUG - sh automation_tools/update_sha.sh # Run SHA placehold replacement script for dynamic archives + sh ${GITHUB_WORKSPACE}/automation_tools/update_sha.sh # Run SHA placehold replacement script for dynamic archives - name: Build flatpak run: | diff --git a/.github/workflows/main-selfhosted.yml b/.github/workflows/main-selfhosted.yml index c1d31da9..c3fa9dd4 100644 --- a/.github/workflows/main-selfhosted.yml +++ b/.github/workflows/main-selfhosted.yml @@ -42,7 +42,7 @@ jobs: io.qt.qtwebengine.BaseApp/x86_64/6.3 \ org.freedesktop.Sdk.Extension.llvm13 \ org.freedesktop.Sdk.Extension.dotnet6/x86_64/21.08 - sh automation_tools/update_sha.sh # Run SHA placehold replacement script for dynamic archives + sh ${GITHUB_WORKSPACE}/automation_tools/update_sha.sh # Run SHA placehold replacement script for dynamic archives - name: Build flatpak run: | diff --git a/automation_tools/update_sha.sh b/automation_tools/update_sha.sh index 032a806a..27e2f287 100644 --- a/automation_tools/update_sha.sh +++ b/automation_tools/update_sha.sh @@ -3,8 +3,8 @@ # For the file paths to work correctly, call this script with this command from the cloned repo folder root: # sh automation_tools/update_sha.sh -rd_manifest=net.retrodeck.retrodeck.yml -sha_update_list=automation_tools/sha_to_update.cfg +rd_manifest=${GITHUB_WORKSPACE}/net.retrodeck.retrodeck.yml +sha_update_list=${GITHUB_WORKSPACE}/automation_tools/sha_to_update.cfg while IFS="^" read -r url placeholder do