diff --git a/.github/workflows/restricted.yml b/.github/workflows/restricted.yml index 8894597..0e3301f 100644 --- a/.github/workflows/restricted.yml +++ b/.github/workflows/restricted.yml @@ -26,8 +26,12 @@ 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 + - name: "print version" + run: | + echo ${{ steps.get_version.outputs.version }} +