Skip to content

Commit 4201530

Browse files
committed
more cache key fixing
1 parent 28e1b6e commit 4201530

File tree

2 files changed

+52
-56
lines changed

2 files changed

+52
-56
lines changed

.github/workflows/test-make.template.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
uses: actions/cache@v4
3737
with:
3838
path: ${{ github.workspace }}
39-
key: ${{ runner.os }}-make-cache-${{ needs.load-test-result-cache.outputs.hash }}
39+
key: ${{ runner.os }}-make-cache-${{ needs.prepare.outputs.hash }}
4040
fail-on-cache-miss: true
4141
- name: RESTORE TEST RESULT CACHE
4242
uses: actions/cache/restore@v3
@@ -138,7 +138,7 @@
138138
uses: actions/cache@v4
139139
with:
140140
path: ${{ github.workspace }}
141-
key: ${{ runner.os }}-make-cache-${{ needs.load-test-result-cache.outputs.hash }}
141+
key: ${{ runner.os }}-make-cache-${{ needs.prepare.outputs.hash }}
142142
fail-on-cache-miss: true
143143
- name: RESTORE TEST RESULT CACHE
144144
uses: actions/cache/restore@v3
@@ -154,7 +154,6 @@
154154
set -x
155155
tree /home/runner/test-result-cache
156156
- name: SETUP ERLANG/ELIXIR
157-
if: steps.check.outputs.passed != 'true'
158157
uses: erlef/setup-beam@v1
159158
with:
160159
otp-version: ${{ matrix.otp_version }}
@@ -164,7 +163,6 @@
164163
mkdir -p ${{ env.SUCCESS_PATH }}
165164
- name: TEST
166165
id: test
167-
if: steps.check.outputs.passed != 'true'
168166
run: |
169167
if [[ -f ${{ env.SUCCESS_PATH }}/checks ]]; then
170168
echo "checks already passed for this key ${{ needs.prepare.outputs.hash }}"

0 commit comments

Comments
 (0)