We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c78499e commit 7014ad9Copy full SHA for 7014ad9
1 file changed
.github/workflows/patch.yml
@@ -20,10 +20,10 @@ jobs:
20
- id: step1
21
run: echo "currentTag=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_OUTPUT
22
- id: step2
23
- run: echo "commitCount=`echo $(git rev-list --count $CURRENT_TAG..master)`" >> $GITHUB_OUTPUT
+ run: echo "commitCount=`echo $(git rev-list --count ${{steps.step1.outputs.currentTag}}..master)`" >> $GITHUB_OUTPUT
24
- if: ${{steps.step2.outputs.commitCount >= 5}}
25
id: step3
26
- run: echo "newTag=echo $outputs.current-tag | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'" >> $GITHUB_OUTPUT
+ run: echo "newTag=echo ${{steps.step1.outputs.currentTag}} | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'" >> $GITHUB_OUTPUT
27
- name: Environments
28
run: |
29
echo "currentTag: ${{steps.step1.outputs.currentTag}}"
0 commit comments