We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41d6470 commit b666511Copy full SHA for b666511
.github/workflows/npm.yml
@@ -85,7 +85,7 @@ jobs:
85
- name: Check Branch
86
id: check-branch
87
run: |
88
- if [[ ${{ github.ref }} =~ ^refs/heads/(main|v[0-9]+\.[0-9]+.*)$ ]]; then
+ if [[ ${{ github.ref }} =~ ^refs/heads/(main|[0-9]+\.[0-9]+\.[0-9].*)$ ]]; then
89
echo ::set-output name=match::true
90
fi # See: https://stackoverflow.com/a/58869470/1123955
91
- name: Is A Publish Branch
0 commit comments