File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -136,10 +136,10 @@ jobs:
136
136
id : get_version
137
137
run : |
138
138
git fetch --tags --force
139
- echo ::set-output name= VERSION:: $(git describe --abbrev=0 --tags | tr -d '^v')
139
+ echo " VERSION= $(git describe --abbrev=0 --tags | tr -d '^v')" >> $GITHUB_OUTPUT
140
140
- name : Get current workspace path
141
141
id : get_workspace
142
- run : echo ::set-output name= WORKSPACE:: ${GITHUB_WORKSPACE}
142
+ run : echo " WORKSPACE= ${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT
143
143
- name : set the env
144
144
run : |
145
145
echo "APP_VERSION=${{ steps.get_version.outputs.VERSION }}" >> $GITHUB_ENV
@@ -173,10 +173,10 @@ jobs:
173
173
ref : ' master'
174
174
- name : Get the version
175
175
id : get_version
176
- run : echo ::set-output name= VERSION:: ${GITHUB_REF_NAME}
176
+ run : echo " VERSION= ${GITHUB_REF_NAME}" >> $GITHUB_OUTPUT
177
177
- name : Get current workspace path
178
178
id : get_workspace
179
- run : echo ::set-output name= WORKSPACE:: ${GITHUB_WORKSPACE}
179
+ run : echo " WORKSPACE= ${GITHUB_WORKSPACE}" >> $GITHUB_OUTPUT
180
180
- name : set the env
181
181
run : |
182
182
TAG=${{ steps.get_version.outputs.VERSION }}
@@ -244,7 +244,7 @@ jobs:
244
244
ref : ' master'
245
245
- name : Get the version
246
246
id : get_version
247
- run : echo ::set-output name= VERSION:: ${GITHUB_REF_NAME}
247
+ run : echo " VERSION= ${GITHUB_REF_NAME}" >> $GITHUB_OUTPUT
248
248
- name : set the env
249
249
run : |
250
250
TAG=${{ steps.get_version.outputs.VERSION }}
You can’t perform that action at this time.
0 commit comments