Commit 4bd8b8c 1 parent 8460c28 commit 4bd8b8c Copy full SHA for 4bd8b8c
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 18
18
fetch-depth : 0
19
19
- name : Set the commit SHA
20
20
id : sha
21
- run : echo "::set-output name= commitSha:: $(if [ -z "$SHA" ]; then echo $GITHUB_SHA; else echo $SHA; fi)"
21
+ run : echo "commitSha= $(if [ -z "$SHA" ]; then echo $GITHUB_SHA; else echo $SHA; fi)" >> "$GITHUB_OUTPUT "
22
22
env :
23
23
SHA : ${{ github.event.inputs.sha }}
24
24
- name : Set the tag
30
30
# v1.2.3 is parsed into $1 = "v1.", $2 = "2", $3 = ".3"
31
31
# and concatenated back into v1.3.0
32
32
new_tag="$(echo "$last_tag" | perl -pe 's/^(v\d+\.)(\d+)(\.\d+)$/$1.($2+1).".0"/e')"
33
- echo "::set-output name= newTag:: $(if [ -z "$TAG" ]; then echo $new_tag; else echo $TAG; fi)"
33
+ echo "newTag= $(if [ -z "$TAG" ]; then echo $new_tag; else echo $TAG; fi)" >> "$GITHUB_OUTPUT "
34
34
env :
35
35
TAG : ${{ github.event.inputs.tag }}
36
36
- uses : tibdex/github-app-token@v1.5.2
You can’t perform that action at this time.
0 commit comments