mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-21 20:56:45 +01:00
Build PRs on JDK 17 and 21
This commit is contained in:
parent
b00a46b286
commit
f41453a412
5
.github/workflows/build-pr.yml
vendored
5
.github/workflows/build-pr.yml
vendored
@ -7,15 +7,16 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
||||
jdk: [ 17, 21 ]
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/wrapper-validation-action@v1
|
||||
- name: Setup Java
|
||||
- name: Setup Java ${{ matrix.jdk }}
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: 17
|
||||
java-version: ${{ matrix.jdk }}
|
||||
- name: Clean Build
|
||||
run: ./gradlew clean build
|
||||
|
Loading…
Reference in New Issue
Block a user