mirror of
https://github.com/AuxXxilium/arc-configs.git
synced 2024-11-23 14:50:52 +07:00
build: add clean
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
f3a56d93ef
commit
bcbeb7d344
26
.github/workflows/clean.yml
vendored
Normal file
26
.github/workflows/clean.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: Clean Configs
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: Init Env
|
||||
run: |
|
||||
git config --global user.email "info@auxxxilium.tech"
|
||||
git config --global user.name "AuxXxilium"
|
||||
sudo timedatectl set-timezone "Europe/Berlin"
|
||||
|
||||
- name: Clean Old
|
||||
uses: Nats-ji/delete-old-releases@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
keep-count: 1
|
||||
remove-tags: true
|
||||
keep-old-minor-releases: false
|
Loading…
Reference in New Issue
Block a user