Skip to content

Commit c03e9a8

Browse files
committed
remove older assets
1 parent b4cc8f9 commit c03e9a8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: .github/workflows/release.yml

+9
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,15 @@ jobs:
131131
- name: Print TAG
132132
run: echo "v${{ steps.set-tag.outputs.tag }}"
133133

134+
- name: Delete older release assets
135+
uses: mknejp/delete-release-assets@v1
136+
with:
137+
token: ${{ secrets.GITHUB_TOKEN }}
138+
tag: "v${{ steps.set-tag.outputs.tag }}"
139+
assets: |
140+
*.tar.gz
141+
*.whl
142+
*.zip
134143
- name: Create Release
135144
uses: ncipollo/release-action@v1
136145
with:

0 commit comments

Comments
 (0)