Skip to content

Commit

Permalink
github actions - fix windows build v3
Browse files Browse the repository at this point in the history
  • Loading branch information
slatinsky committed Aug 12, 2024
1 parent 55b29f4 commit f822b7a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/BUILD_RELEASE.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f822b7a

Please sign in to comment.