feat(.github/workflows): add step to wipe old snapshot assets in tarball.yml

This commit is contained in:
Anthony Green 2025-06-09 13:35:29 -04:00
parent b9b8378556
commit a18d4e95d3

View File

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