File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ jobs:
1515 with :
1616 fetch-depth : 0
1717
18- - run : echo "CURRENT_TAG=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
19- - run : echo "COMMIT_COUNT=`echo $(git rev-list --count $CURRENT_TAG..master)`" >> $GITHUB_ENV
18+ - run : echo "CURRENT_TAG=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_OUTPUT
19+ - run : echo "COMMIT_COUNT=`echo $(git rev-list --count $CURRENT_TAG..master)`" >> $GITHUB_OUTPUT
2020 - if : ${{env.COMMIT_COUNT >= 5}}
21- run : echo "NEW_TAG=' echo $CURRENT_TAG | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'' " >> $GITHUB_ENV
21+ run : echo "NEW_TAG=echo $CURRENT_TAG | awk 'BEGIN{FS=OFS="."} {$3+=1} 1'" >> $GITHUB_OUTPUT
2222 - name : Environments
2323 run : |
2424 echo "CURRENT_TAG: $CURRENT_TAG"
2929
3030 runs-on : ubuntu-latest
3131
32- if : ${{needs.setup-env.COMMIT_COUNT >= 5}}
32+ if : ${{needs.setup-env.outputs. COMMIT_COUNT >= 5}}
3333 steps :
3434 - uses : actions/checkout@v5
3535 with :
You can’t perform that action at this time.
0 commit comments