From 5dff4fb2775bc2b3cb967a2fa5e2aa74ce604c18 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sun, 15 Sep 2024 00:33:13 +0200 Subject: [PATCH] delete release before uploading a new version --- .github/workflows/run.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 73966a4..5d7feeb 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -73,6 +73,12 @@ jobs: needs: build steps: + - uses: dev-drprasad/delete-tag-and-release@v1.1 + with: + delete_release: true + tag_name: stage0 + github_token: ${{ secrets.GITHUB_TOKEN }} + - name: Get artifacts uses: actions/download-artifact@v4 with: @@ -88,8 +94,8 @@ jobs: - name: Release to GitHub uses: ncipollo/release-action@v1 with: - name: Latest Release - tag: latest + name: Latest Stage0 Release + tag: stage0 commit: stage0 body: ${{ github.event.head_commit.message }} artifacts: "i686-eduos-stage0"