From d0727b534ebc1971b6b39a0807ce597fa69cd820 Mon Sep 17 00:00:00 2001 From: Svyatoslav Shchipunov Date: Wed, 2 Oct 2024 10:02:44 +0700 Subject: [PATCH] fix: fix job run condition --- .github/workflows/run-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-release.yml b/.github/workflows/run-release.yml index cc1b257..b45bd98 100644 --- a/.github/workflows/run-release.yml +++ b/.github/workflows/run-release.yml @@ -23,11 +23,12 @@ jobs: - name: Check if release exists in your repo id: check_release + continue-on-error: true run: | curl -s https://api.github.com/repos/Slava-Shchipunov/awg-openwrt/releases/tags/${{ steps.get_release.outputs.release_tag }} | jq -r .tag_name || echo "Not found" - name: Create release in your repo - if: steps.check_release.outputs.tag_name == 'Not found' + if: failure() || steps.check_release.outputs.tag_name == 'null' run: | ART=" _______ ________ __