Merge branch 'dev' of https://github.com/flowerfine/scaleph into dev #755
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: Test | |
on: | |
push: | |
paths-ignore: ['docs/**', '**/*.md', '**/*.drawio', '**/*.svg' ] | |
jobs: | |
build: | |
# only run on forked repository | |
if: github.repository != 'flowerfine/scaleph' | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
jdk: [ 8, 11, 17 ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Java JDK ${{ matrix.jdk }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.jdk }} | |
distribution: temurin | |
cache: maven | |
- name: Build with Maven | |
run: mvn -B -U -T 4 clean package --file pom.xml |