Skip to content

Commit

Permalink
fix: update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thetnaingtn committed Dec 24, 2023
1 parent ea0fb52 commit b3aabad
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

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

- name: Upload binaries
uses: actions/upload-artifact
uses: actions/upload-artifact@v4
with:
name: binaries
path: |
dist
!homebrew
Expand Down Expand Up @@ -93,7 +94,6 @@ jobs:
if [ "${node_os}" = "windows" ]; then
bin="${bin}.exe"
fi
pwd
install -D ../${{ matrix.os }}/${bin} ${node_pkg}/bin/${bin}
cd "${node_pkg}"
npm publish --access public
Expand All @@ -109,11 +109,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set the release version
shell: bash
run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV


- name: Install Node
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit b3aabad

Please sign in to comment.