Run artifact cleanup on self-hosted Linux runners
Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
parent
9930d295f2
commit
3a5ab6ef44
@ -20,13 +20,13 @@ permissions:
|
|||||||
jobs:
|
jobs:
|
||||||
cleanup:
|
cleanup:
|
||||||
name: Delete stale Actions artifacts
|
name: Delete stale Actions artifacts
|
||||||
runs-on: ubuntu-latest
|
runs-on: [self-hosted, evoo-ci, Linux]
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- name: Remove old artifacts
|
- name: Remove old artifacts
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
DRY_RUN: ${{ inputs.dry_run }}
|
DRY_RUN: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run || 'false' }}
|
||||||
REPOSITORY: ${{ github.repository }}
|
REPOSITORY: ${{ github.repository }}
|
||||||
run: |
|
run: |
|
||||||
python3 <<'PY'
|
python3 <<'PY'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user