Revert "make workflows fail to stress test github cache deletion"

This reverts commit 09e887fc3c86e21258d7e697daae68c292ddb4d8.
This commit is contained in:
mahula 2023-07-18 22:54:14 +02:00
parent 09e887fc3c
commit f348e18ce2
4 changed files with 3 additions and 27 deletions

View File

@ -1,24 +0,0 @@
name: ocelot.social cache cleanup on pr closing
on:
pull_request:
types:
- closed
jobs:
clean-branch-cache:
name: Clean branch cache
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout code
uses: actions/checkout@v3
- name:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh extension install actions/gh-actions-cache
gh actions-cache list --branch TODO:this_current_branch --order desc --sort created-at
# gh actions-cache delete -R Ocelot-Social-Community/Ocelot-Social --confirm

View File

@ -92,7 +92,7 @@ jobs:
- name: Restore Neo4J cache
uses: actions/cache/restore@v3.3.1
with:
path: /tmp/neo4j.tarTEST
path: /tmp/neo4j.tar
key: ${{ github.run_id }}-backend-neo4j-cache
fail-on-cache-miss: true

View File

@ -61,7 +61,7 @@ jobs:
id: cache
with:
path: |
/opt/cucumber-json-formatterTEST
/opt/cucumber-json-formatter
/home/runner/.cache/Cypress
/home/runner/work/Ocelot-Social/Ocelot-Social
/tmp/images/

View File

@ -84,7 +84,7 @@ jobs:
- name: Restore webapp cache
uses: actions/cache/restore@v3.3.1
with:
path: /tmp/webapp.tarTEST
path: /tmp/webapp.tar
key: ${{ github.run_id }}-webapp-cache
- name: Load Docker Image