Skip to content

Commit

Permalink
polystat#184: added plugins for maven
Browse files Browse the repository at this point in the history
  • Loading branch information
includealex committed Sep 29, 2022
1 parent f5f02ea commit 03b2a8b
Show file tree
Hide file tree
Showing 4 changed files with 782 additions and 29 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: mvn
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Tests
strategy:
matrix:
os: [ubuntu-20.04, windows-2022, macos-12]
java: [11, 17]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- uses: actions/cache@v3
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
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,8 @@ j2eo-data
gradlew
gradlew.bat
gradle
target
target
.classpath
.project
.settings/
ktlint
Loading

0 comments on commit 03b2a8b

Please sign in to comment.