[Chore]完成调试workflows
This commit is contained in:
parent
b323315583
commit
012e044c54
2 changed files with 6 additions and 29 deletions
11
.github/workflows/Alpha.yml
vendored
11
.github/workflows/Alpha.yml
vendored
|
@ -33,12 +33,13 @@ jobs:
|
||||||
NAME: Clash.Meta
|
NAME: Clash.Meta
|
||||||
BINDIR: bin
|
BINDIR: bin
|
||||||
run: make -j releases
|
run: make -j releases
|
||||||
- name: Delete old tag and release
|
|
||||||
uses: cb80/delrel@latest
|
- name: Delete current release assets
|
||||||
|
uses: andreaswilli/delete-release-assets-action@v2.0.0
|
||||||
with:
|
with:
|
||||||
tag_name: alpha # tag name to delete
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# env:
|
tag: alpha
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
deleteOnlyFromDrafts: false
|
||||||
|
|
||||||
- name: Upload Alpha
|
- name: Upload Alpha
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
|
|
24
.github/workflows/delete.yaml
vendored
24
.github/workflows/delete.yaml
vendored
|
@ -1,24 +0,0 @@
|
||||||
name: Delete Release Assets
|
|
||||||
|
|
||||||
on: push
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deleteReleaseAssets:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Check out Git repository
|
|
||||||
uses: actions/checkout@v1
|
|
||||||
|
|
||||||
- name: Delete current release assets
|
|
||||||
uses: andreaswilli/delete-release-assets-action@v2.0.0
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
# tagPrefix: v
|
|
||||||
tag: alpha
|
|
||||||
deleteOnlyFromDrafts: false
|
|
||||||
|
|
||||||
- name: Delete a Release
|
|
||||||
uses: liudonghua123/delete-release-action@v1
|
|
||||||
with:
|
|
||||||
release_name: 'alpha'
|
|
Loading…
Reference in a new issue