diff --git a/.github/workflows/restricted.yml b/.github/workflows/restricted.yml index 0e3301f..78f6053 100644 --- a/.github/workflows/restricted.yml +++ b/.github/workflows/restricted.yml @@ -26,7 +26,7 @@ jobs: echo "version=$(jq --raw-output '.version | gsub("[^0-9.]"; "")' metadata.json)" >> $GITHUB_OUTPUT - name: "Check version" - if: ${{ steps.get_version.outputs.version }} + if: ${{ steps.get_version.outputs.version != '' }} run: | echo "Version is empty. Exiting workflow." exit 1