feat: update delete release assets action to use new delete-tag action
Some checks failed
Build LaTeX Document / build_latex (push) Failing after 2m3s
Some checks failed
Build LaTeX Document / build_latex (push) Failing after 2m3s
This commit is contained in:
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@@ -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'
|
||||
|
Reference in New Issue
Block a user