Bypass environment variables for license generation on Windows #688
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Cleanup cache | |
| on: | |
| pull_request: | |
| types: | |
| - closed | |
| permissions: | |
| actions: write | |
| contents: write | |
| pull-requests: read | |
| jobs: | |
| cleanup-cache: | |
| name: cleanup cache | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Cleanup cache | |
| run: gh cache list --ref $BRANCH --limit 100 --json id --jq '.[].id' | xargs -n1 -r -t gh cache delete | |
| continue-on-error: true | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GH_REPO: ${{ github.repository }} | |
| BRANCH: refs/pull/${{ github.event.pull_request.number }}/merge |