mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +08:00
ci: clean old package
Signed-off-by: Larvan2 <78135608+Larvan2@users.noreply.github.com>
This commit is contained in:
parent
ad6b3bf19f
commit
0b67cc7021
16
.github/workflows/cleanPkg.yml
vendored
Normal file
16
.github/workflows/cleanPkg.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: clean old package
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * 0'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
del_runs:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/delete-package-versions@v4
|
||||||
|
with:
|
||||||
|
package-name: 'metacubexd'
|
||||||
|
package-type: 'container'
|
||||||
|
min-versions-to-keep: 3
|
||||||
|
delete-only-untagged-versions: 'true'
|
Loading…
Reference in New Issue
Block a user