Skip to content

Commit 35fd739

Browse files
committed
CI: do not fail if non-existent cache
1 parent fbb4c30 commit 35fd739

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
if: env.cacheChanged == 'true'
5050
id: delete-cache
5151
run: |
52-
gh api --method DELETE -H "Accept: application/vnd.github+json" /repos/scijava/pom-scijava/actions/caches?key=${{ runner.os }}-cache
52+
gh api --method DELETE -H "Accept: application/vnd.github+json" /repos/scijava/pom-scijava/actions/caches?key=${{ runner.os }}-cache || true
5353
env:
5454
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
5555

0 commit comments

Comments
 (0)