feat(packaging): add Windows EXE jpackage script, Launch4j wrapper sc… #10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI Build | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Java 25 (runtime) | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 25 | |
| - name: Set up Gradle 8.10.2 | |
| uses: gradle/actions/setup-gradle@v3 | |
| with: | |
| gradle-version: 8.10.2 | |
| - name: Gradle Build (no caches, verbose) | |
| run: | | |
| gradle --version | |
| java -version | |
| # Retry once to mitigate transient infra/cache issues | |
| gradle build -PjavaTarget=25 --no-daemon --no-configuration-cache --no-build-cache --stacktrace || \ | |
| (sleep 5 && gradle build -PjavaTarget=25 --no-daemon --no-configuration-cache --no-build-cache --stacktrace) | |
| - name: Diagnostic (versions + stacktrace) | |
| run: | | |
| java -version | |
| gradle -v | |
| gradle build --stacktrace --info || true |