Skip to content

Commit 9af6754

Browse files
authored
Update patch.yml
1 parent 0873cee commit 9af6754

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
@@ -20,11 +20,11 @@ jobs:
2020
run: echo "COMMIT_COUNT=${git rev-list --count $CURRENT_TAG..master}" >> $GITHUB_ENV
2121
makepatch:
2222
needs: getcount
23-
if: ${{env.COMMIT_COUNT >= 5}}
23+
if: ${{jobs.getcount.env.COMMIT_COUNT >= 5}}
2424
runs-on: ubuntu-latest
2525
steps:
2626
- uses: actions/checkout@v5
2727
- name: Make a new tag
28-
run: echo "$CURRENT_TAG" | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'
28+
run: echo jobs.getcount.env.CURRENT_TAG | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'
2929

3030

0 commit comments

Comments
 (0)