From 07174bd1c9a70dfca529d7e7e0f4e9f006146dd3 Mon Sep 17 00:00:00 2001 From: Felipe Zipitria Date: Fri, 15 Oct 2021 11:48:37 -0300 Subject: [PATCH 1/2] fix(ci): remove tag before releasing Signed-off-by: Felipe Zipitria --- .github/workflows/nightly.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 848ff9ff1..92c0cc4c0 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -14,6 +14,14 @@ jobs: - name: "Checkout repo" uses: actions/checkout@v2 + - name: "Remove release before creating new one" + uses: dev-drprasad/delete-tag-and-release@v0.2.0 + with: + delete_release: false + tag_name: nightly + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Deploy using Release Action uses: ncipollo/release-action@v1 with: From cf9ebb74a9d6141252f48a5cfd2538c6a916c99e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Zipitr=C3=ADa?= Date: Sun, 17 Oct 2021 09:52:27 -0300 Subject: [PATCH 2/2] Update .github/workflows/nightly.yml Co-authored-by: Max Leske --- .github/workflows/nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 92c0cc4c0..be3ab95e8 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -14,7 +14,7 @@ jobs: - name: "Checkout repo" uses: actions/checkout@v2 - - name: "Remove release before creating new one" + - name: "Remove nightly tag before creating new release (ensures that tag is updated)" uses: dev-drprasad/delete-tag-and-release@v0.2.0 with: delete_release: false