Skip to content

Commit c78499e

Browse files
authored
Update patch.yml
1 parent 643cfb1 commit c78499e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/patch.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ 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: steps.step2.outputs.commitCount >= 5
24+
- if: ${{steps.step2.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
2828
run: |
29-
echo "currentTag: $outputs.currentTag"
30-
echo "commitCount: $outputs.commitCount"
31-
echo "newTag: $outputs.newTag"
29+
echo "currentTag: ${{steps.step1.outputs.currentTag}}"
30+
echo "commitCount: ${{steps.step2.outputs.commitCount}}"
31+
echo "newTag: ${{steps.step3.outputs.newTag}}"
3232
make-patch:
3333
needs: setup-outputs
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)