Bump actions/setup-java from 3 to 4 #689
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |