Skip to content

Commit 3d9e72f

Browse files
authored
fix(ci): fix caching on LLVM instruction test to allow bumping (#688)
This will allow dependabot to bump LLVM version (hopefully) while keeping the cached json when no bump happens. Signed-off-by: Afonso Oliveira <[email protected]>
1 parent 7ac921e commit 3d9e72f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/regress.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ jobs:
3636
with:
3737
path: ext/llvm-project/riscv.json
3838
key: ${{ runner.os }}-riscv-json-${{ env.LLVM_SHA }}
39-
restore-keys: |
40-
${{ runner.os }}-riscv-json-
4139
- name: singularity setup
4240
uses: ./.github/actions/singularity-setup
4341
- name: Run smoke
@@ -130,11 +128,10 @@ jobs:
130128
with:
131129
path: ext/llvm-project/riscv.json
132130
key: ${{ runner.os }}-riscv-json-${{ env.LLVM_SHA }}
133-
restore-keys: |
134-
${{ runner.os }}-riscv-json-
135131
- name: Initialize LLVM submodule (shallow + sparse)
136132
if: ${{ steps.cache-riscv.outputs.cache-hit != 'true' }}
137133
run: |
134+
rm -rf ext/llvm-project
138135
git submodule sync --recursive
139136
git submodule update --init --recursive --depth=1 ext/llvm-project
140137

0 commit comments

Comments
 (0)