@@ -170,7 +170,7 @@ jobs:
170
170
run : poetry install --no-interaction
171
171
172
172
- name : Setup Node.js environment
173
- uses : actions/setup-node@v2
173
+ uses : actions/setup-node@v3
174
174
with :
175
175
node-version : " 16"
176
176
cache : ' npm'
@@ -246,7 +246,7 @@ jobs:
246
246
run : poetry install --no-interaction
247
247
248
248
- name : Setup Node.js environment
249
- uses : actions/setup-node@v2
249
+ uses : actions/setup-node@v3
250
250
with :
251
251
node-version : " 16"
252
252
cache : ' npm'
@@ -272,28 +272,25 @@ jobs:
272
272
id : get_release_informations
273
273
run : |
274
274
REL_NOTES="$(poetry run npm run --silent extract-release-notes)"
275
- echo "$REL_NOTES"
276
275
277
276
REL_NOTES="${REL_NOTES//'%'/'%25'}"
278
277
REL_NOTES="${REL_NOTES//$'\n'/'%0A'}"
279
278
REL_NOTES="${REL_NOTES//$'\r'/'%0D'}"
280
279
281
- echo "$REL_NOTES"
282
-
283
- echo "::set-output name=release_notes::$REL_NOTES"
284
- echo "::set-output name=is_prelease::$(poetry run npm run --silent is-prerelease)"
280
+ echo "release_notes=$REL_NOTES" >> $GITHUB_OUTPUT
281
+ echo "is_prelease=$(poetry run npm run --silent is-prerelease)" >> $GITHUB_OUTPUT
285
282
286
283
- name : find assets
287
284
id : find_assets
288
285
run : |
289
- echo "::set-output name= vsix_file:: $(find dist -iname '*.vsix')"
290
- echo "::set-output name= vsix_name:: $(find dist -iname '*.vsix' -printf '%f\n')"
286
+ echo "vsix_file= $(find dist -iname '*.vsix')" >> $GITHUB_OUTPUT
287
+ echo "vsix_name= $(find dist -iname '*.vsix' -printf '%f\n')" >> $GITHUB_OUTPUT
291
288
292
- echo "::set-output name= whl_file:: $(find dist -iname '*.whl')"
293
- echo "::set-output name= whl_name:: $(find dist -iname '*.whl' -printf '%f\n')"
289
+ echo "whl_file= $(find dist -iname '*.whl')" >> $GITHUB_OUTPUT
290
+ echo "whl_name= $(find dist -iname '*.whl' -printf '%f\n')" >> $GITHUB_OUTPUT
294
291
295
- echo "::set-output name= tar_gz_file:: $(find dist -iname '*.tar.gz')"
296
- echo "::set-output name= tar_gz_name:: $(find dist -iname '*.tar.gz' -printf '%f\n')"
292
+ echo "tar_gz_file= $(find dist -iname '*.tar.gz')" >> $GITHUB_OUTPUT
293
+ echo "tar_gz_name= $(find dist -iname '*.tar.gz' -printf '%f\n')" >> $GITHUB_OUTPUT
297
294
298
295
- name : create github release
299
296
id : create_release
0 commit comments