@@ -170,7 +170,7 @@ jobs:
170170 run : poetry install --no-interaction
171171
172172 - name : Setup Node.js environment
173- uses : actions/setup-node@v2
173+ uses : actions/setup-node@v3
174174 with :
175175 node-version : " 16"
176176 cache : ' npm'
@@ -246,7 +246,7 @@ jobs:
246246 run : poetry install --no-interaction
247247
248248 - name : Setup Node.js environment
249- uses : actions/setup-node@v2
249+ uses : actions/setup-node@v3
250250 with :
251251 node-version : " 16"
252252 cache : ' npm'
@@ -272,28 +272,25 @@ jobs:
272272 id : get_release_informations
273273 run : |
274274 REL_NOTES="$(poetry run npm run --silent extract-release-notes)"
275- echo "$REL_NOTES"
276275
277276 REL_NOTES="${REL_NOTES//'%'/'%25'}"
278277 REL_NOTES="${REL_NOTES//$'\n'/'%0A'}"
279278 REL_NOTES="${REL_NOTES//$'\r'/'%0D'}"
280279
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
285282
286283 - name : find assets
287284 id : find_assets
288285 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
291288
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
294291
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
297294
298295 - name : create github release
299296 id : create_release
0 commit comments