mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-19 12:50:11 -05:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user