feat: update delete release assets action to use new delete-tag action
Some checks failed
Build LaTeX Document / build_latex (push) Failing after 2m2s

This commit is contained in:
2025-02-10 14:18:55 +01:00
parent 0e7a5be636
commit 02b59f294d

View File

@@ -38,13 +38,14 @@ jobs:
- name: Check for PDF artifact - name: Check for PDF artifact
run: file ${{ env.PDF_NAME }} || grep -q ' PDF ' run: file ${{ env.PDF_NAME }} || grep -q ' PDF '
- name: Delete old release assets - name: Execute Delete Release/Tag action
if: github.event_name == 'push' && github.ref == 'refs/heads/main' uses: ShivamHS/delete-tag@v1
uses: mknejp/delete-release-assets@v1
with: with:
token: ${{ secrets.RELEASE_TOKEN }} token: ${{ secrets.RELEASE_TOKEN }} #generate new PAT and give delete access to it
tag: latest repo: ${{ github.repository }}
assets: ${{ env.PDF_NAME }} owner: kobim
keyword: latest
deletetype: "tr"
- name: Release PDF artifact - name: Release PDF artifact
if: github.event_name == 'push' && github.ref == 'refs/heads/main' if: github.event_name == 'push' && github.ref == 'refs/heads/main'