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

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

View File

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