File: clear-cache.yml

package info (click to toggle)
python-maturin 1.9.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,424 kB
  • sloc: python: 656; javascript: 93; sh: 55; makefile: 10
file content (19 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: Clear Actions Cache

on:
  workflow_dispatch:

permissions:
  actions: write

jobs:
  clear-cache:
    name: Clean Cache
    runs-on: ubuntu-latest
    env:
      GH_TOKEN: ${{ github.token }}
    steps:
      - name: Clear cache
        run: |
          gh cache delete --all --repo "$GITHUB_REPOSITORY"
          echo "cache cleared"