2
0

Merge pull request #257 from C9Glax/master

Update docker-image-cuttingedge.yml
This commit is contained in:
Glax 2024-09-29 00:44:17 +02:00 committed by GitHub
commit a9fcc93670
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,25 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Clear cache
uses: actions/github-script@v6
with:
script: |
console.log("About to clear")
const caches = await github.rest.actions.getActionsCacheList({
owner: context.repo.owner,
repo: context.repo.repo,
})
for (const cache of caches.data.actions_caches) {
console.log(cache)
github.rest.actions.deleteActionsCacheById({
owner: context.repo.owner,
repo: context.repo.repo,
cache_id: cache.id,
})
}
console.log("Clear completed")
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -42,4 +61,4 @@ jobs:
pull: true pull: true
push: true push: true
tags: | tags: |
glax/tranga-api:cuttingedge glax/tranga-api:cuttingedge