Skip to content

Fix windows build

Fix windows build #2

Workflow file for this run

name: build
on:
push:
branches:
- fix-windows-build
jobs:
build_job_windows:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@master
with:
node-version: 20
- name: Get package version
run: node utils/get-version.js >> $GITHUB_ENV
- name: install dependencies electron-app
run: npm install
working-directory: electron-app
- name: install dependencies server
run: npm install
working-directory: server
- name: Set version in source
run: |-
node utils/set-version.js electron-app/package.json ${{ env.PACKAGE_VERSION }}
node utils/set-version.js electron-app/src/index.ts ${{ env.PACKAGE_VERSION }}
- name: check package
run: cat electron-app/package.json
- name: check source
run: cat electron-app/src/index.ts