[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
|
||||
BINDIR: bin
|
||||
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:
|
||||
tag_name: alpha # tag name to delete
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag: alpha
|
||||
deleteOnlyFromDrafts: false
|
||||
|
||||
- name: Upload Alpha
|
||||
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