Skip to content

Commit c19795c

Browse files
authored
Update maven-publish-on-push.yml
1 parent e5fceb6 commit c19795c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/maven-publish-on-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
else
4343
echo "is_snapshot=false" >> $GITHUB_OUTPUT
4444
fi
45-
if [[ ${{ github.ref_name }} =~ **/tags/** ]]; then
45+
if [[ ${{ github.ref }} == 'refs/tags/'* ]]; then
4646
echo "has_tag=true" >> $GITHUB_OUTPUT
4747
else
4848
echo "has_tag=false" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)