Skip to content

Merge pull request #2 from AceCentre/create-overlay-to-measure #66

Merge pull request #2 from AceCentre/create-overlay-to-measure

Merge pull request #2 from AceCentre/create-overlay-to-measure #66

Workflow file for this run

name: Build Electron App
on:
push:
branches:
- main
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
# Define the platforms you want to build for
os: [windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Set up Python for node-gyp
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Python distutils (if needed)
shell: pwsh
run: |
python -m ensurepip --upgrade
python -m pip install --upgrade setuptools
- name: Install dependencies and rebuild
run: |
cd nodejs/sender-monitor
npm install
npx electron-rebuild
- name: Build Electron App
run: |
cd nodejs/sender-monitor
npm run package
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: OWD-Utils
path: nodejs/sender-monitor/dist