mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
set workflow not to fail while deleting cache
This commit is contained in:
parent
e1374c05ac
commit
6b7047e604
1
.github/workflows/test-backend.yml
vendored
1
.github/workflows/test-backend.yml
vendored
@ -138,6 +138,7 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gh extension install actions/gh-actions-cache
|
gh extension install actions/gh-actions-cache
|
||||||
|
set +e
|
||||||
KEY="backend-neo4j-cache-pr${{ needs.files-changed.outputs.pr-number }}"
|
KEY="backend-neo4j-cache-pr${{ needs.files-changed.outputs.pr-number }}"
|
||||||
gh actions-cache delete $KEY -R Ocelot-Social-Community/Ocelot-Social --confirm
|
gh actions-cache delete $KEY -R Ocelot-Social-Community/Ocelot-Social --confirm
|
||||||
KEY="backend-cache-pr${{ needs.files-changed.outputs.pr-number }}"
|
KEY="backend-cache-pr${{ needs.files-changed.outputs.pr-number }}"
|
||||||
|
|||||||
1
.github/workflows/test-webapp.yml
vendored
1
.github/workflows/test-webapp.yml
vendored
@ -114,6 +114,7 @@ jobs:
|
|||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
gh extension install actions/gh-actions-cache
|
gh extension install actions/gh-actions-cache
|
||||||
|
set +e
|
||||||
KEY="webapp-cache-pr${{ needs.files-changed.outputs.pr-number }}"
|
KEY="webapp-cache-pr${{ needs.files-changed.outputs.pr-number }}"
|
||||||
gh actions-cache delete $KEY -R Ocelot-Social-Community/Ocelot-Social --confirm
|
gh actions-cache delete $KEY -R Ocelot-Social-Community/Ocelot-Social --confirm
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user