Try java 21

This commit is contained in:
modmuss50 2023-09-26 10:26:46 +01:00
parent 13b08aa3cd
commit 5cb2394587
2 changed files with 9 additions and 9 deletions

View file

@ -4,12 +4,13 @@ jobs:
build:
strategy:
matrix:
java: [17-jdk, 20-jdk]
java: [17, 21]
runs-on: ubuntu-22.04
container:
image: eclipse-temurin:${{ matrix.java }}
options: --user root
steps:
- uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: ${{ matrix.java }}
- uses: actions/checkout@v4
with:
fetch-depth: 0

View file

@ -7,12 +7,11 @@ permissions:
jobs:
build:
runs-on: ubuntu-22.04
container:
image: eclipse-temurin:20-jdk
options: --user root
steps:
- run: apt update && apt install git -y && git --version
- run: git config --global --add safe.directory /__w/fabric/fabric
- uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '21'
- uses: actions/checkout@v4
with:
fetch-depth: 0