Skip to content

Commit

Permalink
Update restricted.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
malikparvez authored Jun 14, 2024
1 parent 634e14b commit 5418d59
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/restricted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 5418d59

Please sign in to comment.