Remove cache step from cuttingedge workflow, set --platform to TARGETPLATFORM instead

This commit is contained in:
2024-09-29 00:50:53 +02:00
parent a9fcc93670
commit 34c62e8658
2 changed files with 4 additions and 23 deletions

View File

@ -11,26 +11,7 @@ jobs:
runs-on: ubuntu-latest
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")
steps:
- name: Checkout
uses: actions/checkout@v4