2022-04-06 16:56:58 +00:00
|
|
|
name: Gradle Test Build
|
2022-04-06 16:56:29 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Set up JDK 17
|
|
|
|
uses: actions/setup-java@v2
|
|
|
|
with:
|
|
|
|
java-version: '17'
|
|
|
|
distribution: 'temurin'
|
|
|
|
server-id: github
|
|
|
|
settings-path: ${{ github.workspace }}
|
|
|
|
|
|
|
|
- name: Set up Gradle
|
|
|
|
uses: gradle/gradle-build-action@v2
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
chmod +x ./gradlew
|
|
|
|
./gradlew build --stacktrace --info -x test
|