Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
fix publish ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ellyofreitas committed Sep 21, 2023
1 parent bc70a17 commit e1d4199
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,15 @@ jobs:
- name: Build ${{ matrix.os }} binaries 64 bits
run: npm run prebuild -- --strip --arch x64
- name: Upload ${{ matrix.os }} binaries
if: matrix.os != 'windows'
run: gh release upload ${{ github.event.release.tag_name }} prebuilds/**/*.tar.gz
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload ${{ matrix.os }} binaries
if: matrix.os == 'windows'
run: gh release upload ${{ github.event.release.tag_name }} prebuilds\*\*.tar.gz
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
npm-publish:
runs-on: ubuntu-latest
needs: build
Expand Down

0 comments on commit e1d4199

Please sign in to comment.