Skip to content

fix: making read() work with Electron v20.3.9+ #36

fix: making read() work with Electron v20.3.9+

fix: making read() work with Electron v20.3.9+ #36

Workflow file for this run

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