From c6b8467e02e8d30ac5a5447ff9b341292ac9fad6 Mon Sep 17 00:00:00 2001 From: Forest Eckhardt Date: Tue, 17 Dec 2024 15:46:13 +0000 Subject: [PATCH] Corrects path to diff files - The original path is one that needs to be used when an action is running inside of a container but wants to interact with the github workspace. We have changed it to the one used by actions that are running directly on the vm --- stack/.github/workflows/create-release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stack/.github/workflows/create-release.yml b/stack/.github/workflows/create-release.yml index d25dcff6..59f6c623 100644 --- a/stack/.github/workflows/create-release.yml +++ b/stack/.github/workflows/create-release.yml @@ -283,8 +283,8 @@ jobs: echo "packages_removed=false" >> "$GITHUB_OUTPUT" fi env: - BUILD_REMOVED: "/github/workspace/${{ env.BUILD_DIFF_REMOVED_FILENAME }}" - RUN_REMOVED: "/github/workspace/${{ env.RUN_DIFF_REMOVED_FILENAME }}" + BUILD_REMOVED: "${{ github.workspace }}/${{ env.BUILD_DIFF_REMOVED_FILENAME }}" + RUN_REMOVED: "${{ github.workspace }}/${{ env.RUN_DIFF_REMOVED_FILENAME }}" run_if_packages_removed_with_force: name: Run If Packages Removed With Force @@ -331,10 +331,10 @@ jobs: fi env: - BUILD_ADDED: "/github/workspace/${{ env.BUILD_DIFF_ADDED_FILENAME }}" - BUILD_MODIFIED: "/github/workspace/${{ env.BUILD_DIFF_MODIFIED_FILENAME }}" - RUN_ADDED: "/github/workspace/${{ env.RUN_DIFF_ADDED_FILENAME }}" - RUN_MODIFIED: "/github/workspace/${{ env.RUN_DIFF_MODIFIED_FILENAME }}" + BUILD_ADDED: "${{ github.workspace }}/${{ env.BUILD_DIFF_ADDED_FILENAME }}" + BUILD_MODIFIED: "${{ github.workspace }}/${{ env.BUILD_DIFF_MODIFIED_FILENAME }}" + RUN_ADDED: "${{ github.workspace }}/${{ env.RUN_DIFF_ADDED_FILENAME }}" + RUN_MODIFIED: "${{ github.workspace }}/${{ env.RUN_DIFF_MODIFIED_FILENAME }}" run_if_packages_changed: name: Run If Packages Changed