Skip to content

Update GitHub workflow #13

Update GitHub workflow

Update GitHub workflow #13

Workflow file for this run

name: Java CI with Maven
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
name: Java 17 compile
steps:
- name: Git Checkout
uses: actions/checkout@v4
- name: Set up JDKs
uses: actions/setup-java@v4
with:
java-version: |

Check failure on line 17 in .github/workflows/maven.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/maven.yml

Invalid workflow file

You have an error in your yaml syntax on line 17
8
11
17
distribution: 'temurin' # See 'Supported distributions' for available options
cache: maven
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.8
- name: Install xvfb
run: sudo apt-get install xvfb
- name: Build NatTable with Javadoc
env:
JAVA_HOME: ${{ env.JAVA_HOME_17_X64 }}
run: |
cp .github/toolchains.xml ~/.m2/toolchains.xml
xvfb-run mvn clean compile javadoc:aggregate verify