mirror of
https://github.com/libffi/libffi.git
synced 2026-01-26 10:07:53 +00:00
feat(.github/workflows): add step to wipe old snapshot assets in tarball.yml
This commit is contained in:
parent
b9b8378556
commit
a18d4e95d3
9
.github/workflows/tarball.yml
vendored
9
.github/workflows/tarball.yml
vendored
@ -36,6 +36,15 @@ jobs:
|
||||
- run: ./configure
|
||||
- run: make dist # produces libffi-${VERSION}.tar.gz
|
||||
|
||||
- name: Wipe old snapshot assets
|
||||
uses: mknejp/delete-release-assets@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag: snapshots # ← whatever tag your nightly release uses
|
||||
assets: |
|
||||
libffi-*.tar.*
|
||||
libffi-*.zip
|
||||
|
||||
- name: Create (or update) “snapshots” release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user