Skip to content

Tutorials

Tutorials #619

Workflow file for this run

name: Build
on: [ push ]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
cache: 'maven'
cache-dependency-path: 'code/pom.xml'
- name: Package with Maven
run: MAVEN_OPTS="-XX:+TieredCompilation -XX:TieredStopAtLevel=1" mvn -V -T 1C --file code/pom.xml --batch-mode --update-snapshots install
# CI docs:
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
# https://github.com/actions/cache/blob/master/examples.md#java---maven
# https://github.com/marketplace/actions/github-pages-action
# https://github.com/actions/setup-java/blob/main/README.md