2020-06-21 16:14:29 -04:00
|
|
|
name: Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
java-version: [1.8, 11, 14]
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2020-07-09 17:31:28 -04:00
|
|
|
- uses: gradle/wrapper-validation-action@v1
|
2020-06-21 16:14:29 -04:00
|
|
|
- uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: ${{ matrix.java-version }}
|
2020-06-25 12:41:13 -04:00
|
|
|
- uses: eskatos/gradle-command-action@v1.3.2
|
2020-06-21 16:14:29 -04:00
|
|
|
with:
|
|
|
|
gradle-version: wrapper
|
2020-09-10 12:36:46 -04:00
|
|
|
arguments: check build publishToMavenLocal --stacktrace --parallel
|
2020-07-01 14:05:55 -04:00
|
|
|
dependencies-cache-enabled: false
|
|
|
|
configuration-cache-enabled: false
|
2020-06-21 16:14:29 -04:00
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: Artifacts
|
|
|
|
path: build/libs/
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: Artifacts
|
|
|
|
path: ./*/build/libs/
|