From 7f7e7675008284893fa7da02ccd21ba6eed01811 Mon Sep 17 00:00:00 2001 From: Ellyo Freitas Date: Wed, 15 May 2024 20:02:25 -0300 Subject: [PATCH] fix publish release --- .github/workflows/prebuild-pr.yml | 2 +- .github/workflows/publish.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/prebuild-pr.yml b/.github/workflows/prebuild-pr.yml index f39c5dfb..efda677a 100644 --- a/.github/workflows/prebuild-pr.yml +++ b/.github/workflows/prebuild-pr.yml @@ -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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 12d9d428..d94bd9fc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 }}