jpackage, fix typo #4
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: Build RTR-NetztestCLI-linux-x64 (without testing) | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: set up JDK 1.21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'corretto' | |
| - name: Build with Gradle | |
| run: | | |
| ./gradlew build --info --stacktrace -x test | |
| ./gradlew :RMBTClient:shadowJar -x test | |
| - name: Archive files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: RTR-NetztestCLI-jar | |
| path: | | |
| RMBTClient/build/libs/*-all.jar | |
| retention-days: 90 | |
| - name: Build jpackage | |
| run: | | |
| cd RMBTClient/build/ | |
| ls * | |
| jpackage --input libs --name "RTR-Netztest" --main-jar RMBTClient-all.jar --main-class at.rtr.rmbt.client.RMBTClientRunner --type app-image --app-version "1.0.19" --vendor "RTR" --verbose --arguments --log --description "RTR-Netztest - RMBTClient engine" | |
| ls * | |
| - name: Archive files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: RTR-NetztestCLI-linux-x64 | |
| path: | | |
| RMBTClient/build/RTR-Netztest/* | |
| retention-days: 90 |