The visual representation of the GPR pane made more consistent with t… #222
This file contains 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: GeoHammer build for MS Windows | |
on: [push, workflow_dispatch] | |
jobs: | |
GeoHammer-Windows-Build: | |
runs-on: windows-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Set JDK version and download it | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '22' | |
distribution: 'liberica' | |
java-package: 'jdk+fx' | |
architecture: 'x64' | |
- name: Cache local Maven repository | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Build with Maven | |
run: mvn --batch-mode install -P windows-build | |
- name: Package | |
run: jpackage --verbose --input target\ --name geohammer --main-jar geohammer.jar --main-class com.ugcs.gprvisualizer.app.MainGeoHammer --type app-image --runtime-image target\jre21 | |
- name: Staging artifacts | |
run: mkdir staging && copy target\*.zip staging | |
- name: Store artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Windows-Package | |
path: staging | |
retention-days: 5 |