Create gradle.yml

This commit is contained in:
Michael N. Lipp 2023-06-05 13:18:49 +02:00 committed by GitHub
parent 591205a663
commit 127f3f6f43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

27
.github/workflows/gradle.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Java CI with Gradle
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install graphviz
run: sudo apt-get install graphviz
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Gradle
run: ./gradlew -Prepo.access.token=${{ secrets.REPO_ACCESS_TOKEN }} stage