Skip to content

Commit 8056860

Browse files
authored
Update patch.yml
1 parent 6096223 commit 8056860

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/patch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
run: echo "currentTag=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_OUTPUT
2222
- id: step2
2323
run: echo "commitCount=`echo $(git rev-list --count $CURRENT_TAG..master)`" >> $GITHUB_OUTPUT
24-
- if: ${{outputs.commitCount >= 5}}
24+
- if: outputs.commitCount >= 5
2525
id: step3
2626
run: echo "newTag=echo $outputs.current-tag | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'" >> $GITHUB_OUTPUT
2727
- name: Environments
@@ -34,7 +34,7 @@ jobs:
3434

3535
runs-on: ubuntu-latest
3636

37-
if: ${{needs.setup-outputs.outputs.commitCount >= 5}}
37+
if: needs.setup-outputs.outputs.commitCount >= 5
3838
steps:
3939
- uses: actions/checkout@v5
4040
with:

0 commit comments

Comments
 (0)