| name: "MiNiFi-CPP Github Actions Cache Eviction" | |
| on: | |
| workflow_run: | |
| workflows: ["MiNiFi-CPP CI"] | |
| types: | |
| - completed | |
| workflow_dispatch: | |
| jobs: | |
| ubuntu_24_04: | |
| name: "ubuntu-24.04" | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - id: checkout | |
| uses: actions/checkout@v4 | |
| - name: clear cache | |
| run: | | |
| python3 -m venv github_env | |
| source github_env/bin/activate | |
| pip install -r github_scripts/requirements.txt | |
| python3 github_scripts/github_actions_cache_cleanup.py -t ${{github.token}} -r ${{github.repository}} |