Skip to content

github actions - fix windows build v4 #141

github actions - fix windows build v4

github actions - fix windows build v4 #141

Workflow file for this run

name: Build Windows binaries
on:
push:
paths-ignore:
- '**.md'
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2.3.3
with:
python-version: '3.11.0'
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18.17.1
cache: 'npm'
cache-dependency-path: 'src/dcef/frontend/package-lock.json'
- name: Install pyinstaller
working-directory: src
run: py -m pip install pyinstaller==6.10.0
- name: Run build script
working-directory: src
run: .\BUILD_RELEASE.bat
- name: Verify build
run: |
if not exist release\dcef.exe exit 1
if not exist release\dcef\backend\preprocess\dcefpreprocess.exe exit 1
if not exist release\dcef\backend\fastapi\dceffastapi.exe exit 1
if not exist release\dcef\backend\mongodb\dcefmongod.exe exit 1
if not exist release\dcef\backend\nginx\dcefnginx.exe exit 1
if not exist release\dcef\frontend\index.html exit 1
- name: Upload build folder
uses: actions/upload-artifact@v2
with:
name: windows-build
path: release