plutoengine/.github/workflows/gradle-test-build.yml

37 lines
746 B
YAML
Raw Normal View History

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:
- name: Check out the repository and all submodules
uses: actions/checkout@v2
with:
submodules: recursive
2022-04-06 16:56:29 +00:00
- 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