feat(#909): move to class; read from resources #1385
Workflow file for this run
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: mvn | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Tests | |
strategy: | |
matrix: | |
os: [ ubuntu-20.04, macos-14, windows-2022 ] | |
# @todo #909:60min Add 8 version of Java to matrix. | |
# For now we're getting an infinite qulice check on | |
# Java 8. To fix this you need to set Java 8 version | |
# in your Maven configuration, after that you need to | |
# run `mvn clean install -Pqulice`. | |
java: [ 11, 21 ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java }} | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-jdk-${{ matrix.java }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-jdk-${{ matrix.java }}-maven- | |
- run: mvn clean install -P"qulice,long" --errors --batch-mode | |
- name: Archive failure logs | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: build-log-files | |
path: | | |
target/ |