Clash.Meta/.github/workflows/delete.yaml

25 lines
568 B
YAML
Raw Normal View History

2022-03-28 18:49:24 +08:00
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
2022-03-28 18:52:19 +08:00
uses: andreaswilli/delete-release-assets-action@v2.0.0
2022-03-28 18:49:24 +08:00
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# tagPrefix: v
2022-03-28 18:54:00 +08:00
tag: alpha
2022-03-28 18:58:23 +08:00
deleteOnlyFromDrafts: false
- name: Delete a Release
uses: liudonghua123/delete-release-action@v1
with:
release_name: 'alpha'