mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-23 11:17:15 +08:00
update
This commit is contained in:
parent
5a7dfeea6e
commit
ff93a6204a
19
.github/workflows/remove-old-artifacts.yml
vendored
19
.github/workflows/remove-old-artifacts.yml
vendored
@ -1,20 +1,13 @@
|
|||||||
name: Remove old artifacts
|
name: 'Delete old artifacts'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
# Every day at 1am
|
- cron: '0 * * * *' # every hour
|
||||||
- cron: '0 1 * * *'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
remove-old-artifacts:
|
delete-artifacts:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 10
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Remove old artifacts
|
- uses: kolpav/purge-artifacts-action@v1
|
||||||
uses: c-hive/gha-remove-artifacts@v1
|
|
||||||
with:
|
with:
|
||||||
age: '1 month' # '<number> <unit>', e.g. 5 days, 2 years, 90 seconds, parsed by Moment.js
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# Optional inputs
|
expire-in: 7days # Setting this to 0 will delete all artifacts
|
||||||
# skip-tags: true
|
|
||||||
# skip-recent: 5
|
|
Loading…
Reference in New Issue
Block a user