Improve build scripts and CI/CD workflows

- Enhance build scripts with better error handling and Windows support
- Add Windows-specific build scripts and PowerShell utilities
- Add asset preparation and verification scripts
- Update GitHub Actions workflows for desktop and mobile builds
- Add build configuration and troubleshooting utilities
- Improve cross-platform build compatibility
This commit is contained in:
Dries Peeters
2026-01-11 20:51:13 +01:00
parent 7195a4e43e
commit 00f1f18abb
17 changed files with 1766 additions and 58 deletions
+9 -4
View File
@@ -29,10 +29,14 @@ jobs:
- name: Build Windows
working-directory: desktop
env:
# Code signing (optional - only signs if secrets are configured)
CSC_LINK: ${{ secrets.WINDOWS_CODE_SIGN_CERT }}
CSC_KEY_PASSWORD: ${{ secrets.WINDOWS_CODE_SIGN_PASSWORD }}
run: npm run build:win
- name: Upload Windows installer
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: windows-installer
path: desktop/dist/*.exe
@@ -56,10 +60,11 @@ jobs:
run: npm run build:linux
- name: Upload Linux packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linux-packages
path: desktop/dist/*.AppImage
path: |
desktop/dist/*.AppImage
desktop/dist/*.deb
build-macos:
@@ -81,7 +86,7 @@ jobs:
run: npm run build:mac
- name: Upload macOS DMG
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: macos-dmg
path: desktop/dist/*.dmg
+1 -1
View File
@@ -43,7 +43,7 @@ jobs:
run: flutter build apk --release
- name: Upload APK
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: android-apk
path: mobile/build/app/outputs/flutter-apk/app-release.apk