Skip to content

Commit

Permalink
fix publish release
Browse files Browse the repository at this point in the history
  • Loading branch information
ellyofreitas committed May 15, 2024
1 parent 8319d24 commit 7f7e767
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prebuild-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Apply patches
run: npm run apply-patches
- name: Build unix binaries 32 bits
if: matrix.os != 'macos'
if: matrix.os != 'macos-13'
run: npm run prebuild -- --strip --arch ia32
- name: Build unix binaries 64 bits
run: npm run prebuild -- --strip --arch x64
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ jobs:
- name: Apply patches
run: npm run apply-patches
- name: Build ${{ matrix.os }} binaries 32 bits
if: matrix.os != 'macos'
if: matrix.os != 'macos-13'
run: npm run prebuild -- --strip --arch ia32
- name: Build ${{ matrix.os }} binaries 64 bits
run: npm run prebuild -- --strip --arch x64
- name: Upload ${{ matrix.os }} binaries
if: matrix.os != 'windows'
if: matrix.os != 'windows-latest'
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'
if: matrix.os == 'windows-latest'
run: gh release upload ${{ github.event.release.tag_name }} (ls prebuilds\*\*.tar.gz)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 7f7e767

Please sign in to comment.