Skip to content

Commit c552312

Browse files
authored
Update workflows to remove deprecated ::set-output. (#113)
1 parent d62e867 commit c552312

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
run: |
7474
node publish.js
7575
cd bin-package
76-
echo "::set-output name=asset::$(echo *.tar.gz)"
76+
echo "asset=$(echo *.tar.gz)" >> "$GITHUB_OUTPUT"
7777
- name: Upload release asset
7878
run: gh release upload ${{ github.event.release.tag_name }} bin-package/${{ steps.build.outputs.asset }} --clobber
7979
env:
@@ -108,7 +108,7 @@ jobs:
108108
run: |
109109
node publish.js
110110
cd bin-package
111-
echo "::set-output name=asset::$(echo *.tar.gz)"
111+
echo "asset=$(echo *.tar.gz)" >> "$GITHUB_OUTPUT"
112112
- name: Upload release asset
113113
run: |
114114
git config --global --add safe.directory $(pwd)

0 commit comments

Comments
 (0)