From c6066e82f65585e5b02a1dd87ec9ed968998fe80 Mon Sep 17 00:00:00 2001 From: Oj Date: Tue, 15 Feb 2022 20:09:28 +0000 Subject: [PATCH] [CI > Release] Don't fail on tag delete error --- .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 6eeaf9c..5a835f1 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -95,7 +95,7 @@ jobs: git push origin --delete nightly git tag nightly git push origin nightly - gh release delete ${{ env.VERSION }} -y + gh release delete ${{ env.VERSION }} -y || true gh release create ${{ env.VERSION }} -t "Nightly" -n "$(git rev-parse HEAD | cut -c 1-7) | $(git log -1 --pretty=%B)" ${{ env.FILES }} env: GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'