Skip to content

Commit 1cbf491

Browse files
authoredSep 17, 2024
tweak the ci (#17)
1 parent 3439ee2 commit 1cbf491

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Get SHA sum (HASH) of relevant files
5656
id: hash
5757
run: |
58-
git config --global --add safe.directory /__w/${{ env.repository }}/${{ env.repository }}
58+
git config --global --add safe.directory /__w/${{ env.REPOSITORY }}/${{ env.REPOSITORY }}
5959
echo "Get SHA sum (HASH) of relevant files"
6060
HASH="$(git ls-tree ${{ env.SHA }} -- ${{ env.RELEVANT_FILES }} | sha1sum | cut -d' ' -f1)"
6161
echo "BUILD HASH FOR THE CODEBASE IS: $HASH"
@@ -124,7 +124,7 @@ jobs:
124124
- name: Get SHA sum (HASH) of relevant files
125125
id: hash
126126
run: |
127-
git config --global --add safe.directory /__w/${{ env.repository }}/${{ env.repository }}
127+
git config --global --add safe.directory /__w/${{ env.REPOSITORY }}/${{ env.REPOSITORY }}
128128
echo "Get SHA sum (HASH) of relevant files"
129129
HASH="$(git ls-tree ${{ env.SHA }} -- ${{ env.RELEVANT_FILES }} | sha1sum | cut -d' ' -f1)"
130130
echo "BUILD HASH FOR THE CODEBASE IS: $HASH"

‎.github/workflows/dev-publish.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Check for CI successes
4545
uses: runs-on/cache/restore@v4
4646
with:
47-
key: ${{ runner.os }}-${{ env.repository }}-approval-${{ steps.hash.outputs.HASH }}
47+
key: ${{ runner.os }}-${{ env.REPOSITORY }}-approval-${{ steps.hash.outputs.HASH }}
4848
path: approval.txt
4949
fail-on-cache-miss: true
5050
- name: Setup Elixir

0 commit comments

Comments
 (0)