trying to fix problems with self made pbfs #2 #373
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: RouteConverter CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 17, 20, 21 ] | |
name: Java ${{ matrix.java }} compatibility | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java }} | |
- name: Cache Maven packages | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Show Maven version | |
run: mvn --version | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots verify | |
prerelease: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
java: [ 17 ] | |
name: Java ${{ matrix.java }} on Windows | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java }} | |
- name: Cache Maven packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Show Maven version | |
run: mvn --version | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots verify | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: RouteConverter Windows Prerelease built with Java ${{ matrix.java }} | |
path: RouteConverterWindowsOpenSource/target/RouteConverterWindowsOpenSource.exe | |
overwrite: true |