diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 05a636d6..8939532b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: - name: Get SHA sum (HASH) of relevant files id: hash run: | - git config --global --add safe.directory /__w/${{ env.repository }}/${{ env.repository }} + git config --global --add safe.directory /__w/${{ env.REPOSITORY }}/${{ env.REPOSITORY }} echo "Get SHA sum (HASH) of relevant files" HASH="$(git ls-tree ${{ env.SHA }} -- ${{ env.RELEVANT_FILES }} | sha1sum | cut -d' ' -f1)" echo "BUILD HASH FOR THE CODEBASE IS: $HASH" @@ -124,7 +124,7 @@ jobs: - name: Get SHA sum (HASH) of relevant files id: hash run: | - git config --global --add safe.directory /__w/${{ env.repository }}/${{ env.repository }} + git config --global --add safe.directory /__w/${{ env.REPOSITORY }}/${{ env.REPOSITORY }} echo "Get SHA sum (HASH) of relevant files" HASH="$(git ls-tree ${{ env.SHA }} -- ${{ env.RELEVANT_FILES }} | sha1sum | cut -d' ' -f1)" echo "BUILD HASH FOR THE CODEBASE IS: $HASH" diff --git a/.github/workflows/dev-publish.yaml b/.github/workflows/dev-publish.yaml index 0e6551b9..37009ab0 100644 --- a/.github/workflows/dev-publish.yaml +++ b/.github/workflows/dev-publish.yaml @@ -44,7 +44,7 @@ jobs: - name: Check for CI successes uses: runs-on/cache/restore@v4 with: - key: ${{ runner.os }}-${{ env.repository }}-approval-${{ steps.hash.outputs.HASH }} + key: ${{ runner.os }}-${{ env.REPOSITORY }}-approval-${{ steps.hash.outputs.HASH }} path: approval.txt fail-on-cache-miss: true - name: Setup Elixir