Reduce artiface retention to 90 days (Github limit) #2
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-win32 (without testing) | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: windows-2022 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: set up JDK 1.21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: Build with Gradle | |
| run: | | |
| dir | |
| .\gradlew.bat build --info --stacktrace :RMBTClient:shadowJar -x test | |
| - name: Build jpackage | |
| run: | | |
| cd RMBTClient\build\ | |
| dir * | |
| 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 ".desc" | |
| dir * | |
| - name: Archive files | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: RTR-NetztestCLI-win32 | |
| path: | | |
| RMBTClient/build/RTR-Netztest/* | |
| retention-days: 90 | |
| - name: Archive jar | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: RTR-NetztestCLI-jar | |
| path: | | |
| RMBTClient/build/libs/*-all.jar | |
| retention-days: 90 |