Skip to content

HTMLWIDGETS-26: Migrate to Platfrom 2.7.0 and Support Java 21 #4

HTMLWIDGETS-26: Migrate to Platfrom 2.7.0 and Support Java 21

HTMLWIDGETS-26: Migrate to Platfrom 2.7.0 and Support Java 21 #4

Workflow file for this run

# this build is designed to replicate the Travis CI workflow
name: Java CI with Maven
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 17, 21, 24]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean install --file pom.xml