diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 38456dee..811616a4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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