From f822b7a84b07e4ef43c06295335485dc65fe3177 Mon Sep 17 00:00:00 2001 From: slatinsky Date: Mon, 12 Aug 2024 03:07:46 +0200 Subject: [PATCH] github actions - fix windows build v3 --- .github/workflows/windows-build.yml | 13 ++++++++++--- src/BUILD_RELEASE.bat | 2 ++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index c0a9119..944e7d0 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -28,13 +28,20 @@ jobs: - name: Install pyinstaller working-directory: src - run: pip install pyinstaller==5.5 + run: py -m pip install pyinstaller==6.10.0 - name: Run build script - run: src\BUILD_RELEASE.bat + working-directory: src + run: BUILD_RELEASE.bat - name: Verify build - run: if not exist release\dcef.exe exit 1 + 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 diff --git a/src/BUILD_RELEASE.bat b/src/BUILD_RELEASE.bat index 16e6531..e580189 100644 --- a/src/BUILD_RELEASE.bat +++ b/src/BUILD_RELEASE.bat @@ -6,6 +6,8 @@ @REM To remove build cache, delete the _temp folder @REM This is a Windows builder script. For Linux, use Dockerfile located in the root directory +@REM Don't forget to install pyinstaller first: +@REM py -m pip install pyinstaller==6.10.0 @REM always start in this src directory