fix: fix job run condition

This commit is contained in:
Svyatoslav Shchipunov
2024-10-02 10:02:44 +07:00
parent e55641a754
commit d0727b534e

View File

@@ -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="
_______ ________ __