mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
remove artifacts older than 21 days (#157)
This commit is contained in:
parent
f42f7923ed
commit
91da660786
13
.github/workflows/cleanup.yml
vendored
Normal file
13
.github/workflows/cleanup.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
name: Delete old artifacts
|
||||
on:
|
||||
schedule:
|
||||
- cron: '30 10 * * *' # every day at 10:30
|
||||
|
||||
jobs:
|
||||
delete-artifacts:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: kolpav/purge-artifacts-action@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
expire-in: 21 days
|
Loading…
Reference in New Issue
Block a user