From fc15d16bbd4e7e01becc6d67c5c30783fca7f02c Mon Sep 17 00:00:00 2001 From: Larvan2 <78135608+Larvan2@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:02:56 +0000 Subject: [PATCH] ci: delete tag und relaese --- .github/workflows/build.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a07c15..08eee5b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,12 +31,19 @@ jobs: GOOS=windows GOARCH=amd64 go build -o ./bin/geo-windows-amd64.exe ./cmd/geo GOOS=windows GOARCH=arm64 go build -o ./bin/geo-windows-arm64.exe ./cmd/geo - - name: Delete current release assets - uses: andreaswilli/delete-release-assets-action@v3.0.0 + # - name: Delete current release assets + # uses: andreaswilli/delete-release-assets-action@v3.0.0 + # with: + # github_token: ${{ secrets.GITHUB_TOKEN }} + # tag: latest + # deleteOnlyFromDrafts: false + + - uses: dev-drprasad/delete-tag-and-release@v1.0 # PRERELEASE is v1.0 and can also be used to test and give us feedback with: - github_token: ${{ secrets.GITHUB_TOKEN }} - tag: latest - deleteOnlyFromDrafts: false + tag_name: latest + github_token: ${{ secrets.GITHUB_TOKEN }} # (required) a GitHub token with write access to the repo that needs to be modified + delete_release: true #(optional) default: true + # repo: / #(optional) target repository. default: repo running this action - name: Create and Upload Release id: upload_release