Skip to content

Bump actions/setup-java from 3 to 4 #689

Bump actions/setup-java from 3 to 4

Bump actions/setup-java from 3 to 4 #689

name: Build all samples
on: [push, pull_request]
jobs:
linux:
name: Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 'Set up JDK 8'
uses: actions/setup-java@v4
with:
java-version: 8
distribution: temurin
- name: 'Build Ant starter'
run: cd ${GITHUB_WORKSPACE}/junit5-jupiter-starter-ant && ./build.sh
- name: 'Set up JDK 11'
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
- name: 'Build all samples using JShell'
run: jshell build-all-samples.jsh