[Chore]完成调试workflows

This commit is contained in:
Meta 2022-03-28 19:02:51 +08:00
parent b323315583
commit 012e044c54
2 changed files with 6 additions and 29 deletions

View file

@ -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

View file

@ -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'