fix: making read()
work with Electron v20.3.9+
#36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Release for each available platform | |
on: | |
push: | |
paths: | |
- 'CMakeLists.txt' | |
- '**.c' | |
- '**.h' | |
- '**.a' | |
- '**.lib' | |
workflow_dispatch: | |
jobs: | |
build-release: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup latest CMake and Ninja | |
uses: lukka/get-cmake@latest | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: latest | |
- name: Install NPM dependencies | |
run: npm install | |
- name: Build Release | |
run: npm run cmake:rebuild-release | |
- name: Upload .node artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Node files in the build folder | |
path: build/Release/*.node |