forked from xuanranran/OpenWRT-X86_64
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 1001 Bytes
/
Delete_workflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Delete workflow
on:
repository_dispatch:
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
# 自动取消其他运行中的workflow
cancel-in-progress: true
jobs:
Build:
runs-on: ubuntu-latest
outputs:
OPENWRTROOT: ${{ steps.update.outputs.OPENWRTROOT }}
PLATFORM: ${{ steps.compile.outputs.PLATFORM }}
TARGET: ${{ steps.compile.outputs.TARGET }}
SUBTARGET: ${{ steps.compile.outputs.SUBTARGET }}
FIRMWARE: ${{ steps.compile.outputs.FIRMWARE }}
GENERATE_STATUS: ${{ steps.generate.outputs.GENERATE_STATUS }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Delete workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
retain_days: 0
keep_minimum_runs: 0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Delete Artifacts
uses: geekyeggo/delete-artifact@v5
with:
name: |
bin-archive