mihomo/.github/workflows/delete.yaml
2022-03-28 18:58:23 +08:00

24 lines
568 B
YAML

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'