Skip to content

Commit

Permalink
fix tag regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheaterpaul committed May 17, 2022
1 parent f1ca27c commit 1d69c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
if [[ ${{ github.event_name }} = workflow_dispatch ]]; then
echo ::set-output name=match::true
elif [[ ${{ github.event.ref }} =~ ^refs/tags/v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)-(0|[1-9]\d*)\.(0|[1-9]\d*)$ ]]; then
elif [[ ${{ github.event.ref }} =~ ^refs\/tags\/v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)-(0|[1-9]\d*)\.(0|[1-9]\d*)$ ]]; then
echo ::set-output name=match::true
fi
- name: Set up JDK 17
Expand Down

0 comments on commit 1d69c18

Please sign in to comment.