Skip to content

Commit 515cbeb

Browse files
Update generate-schema.yml
1 parent b1b1981 commit 515cbeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generate-schema.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
- name: Check Branch with Regex
2626
id: check-tag
2727
run: |
28-
if [ "${{ github.ref }}" =~ ^refs/heads/brapi-V[0-9]+\.[0-9]+$ ]; then
28+
if [[ "${{ github.ref }}" =~ ^refs/heads/brapi-V[0-9]+\.[0-9]+$ ]]; then
2929
echo "commit=true" >> $GITHUB_ENV
3030
else
3131
echo "commit=false" >> $GITHUB_ENV
3232
fi
33-
if [[env.commit == 'true']]; then
33+
if [[ ${{ env.commit }} == 'true']]; then
3434
echo "Release branch - will commit generated files"
3535
else
3636
echo "Feature branch - will NOT commit generated files"

0 commit comments

Comments
 (0)