Skip to content

Commit b3aabad

Browse files
committed
fix: update release.yml
1 parent ea0fb52 commit b3aabad

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/release.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717

@@ -33,8 +33,9 @@ jobs:
3333
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
3434

3535
- name: Upload binaries
36-
uses: actions/upload-artifact
36+
uses: actions/upload-artifact@v4
3737
with:
38+
name: binaries
3839
path: |
3940
dist
4041
!homebrew
@@ -93,7 +94,6 @@ jobs:
9394
if [ "${node_os}" = "windows" ]; then
9495
bin="${bin}.exe"
9596
fi
96-
pwd
9797
install -D ../${{ matrix.os }}/${bin} ${node_pkg}/bin/${bin}
9898
cd "${node_pkg}"
9999
npm publish --access public
@@ -109,11 +109,7 @@ jobs:
109109
steps:
110110
- name: Checkout
111111
uses: actions/checkout@v4
112-
113-
- name: Set the release version
114-
shell: bash
115-
run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV
116-
112+
117113
- name: Install Node
118114
uses: actions/setup-node@v4
119115
with:

0 commit comments

Comments
 (0)