31 lines
594 B
YAML
31 lines
594 B
YAML
name: Java CI with Gradle
|
|
|
|
on:
|
|
push: {}
|
|
pull_request: {}
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: doc_generation
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install graphviz
|
|
run: sudo apt-get install graphviz
|
|
- name: Set up JDK 21
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
java-version: '21'
|
|
distribution: 'temurin'
|
|
- name: Build with Gradle
|
|
run: ./gradlew -Pwebsite.push.token=${{ secrets.WEBSITE_PUSH_TOKEN }} stage
|