Update checkout
and setup-java
actions in the main.yml
workflow
#25
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: CI build | |
on: [push] | |
jobs: | |
builds: | |
name: ${{ matrix.os }} with Java ${{ matrix.jdk }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
jdk: [17, 21] | |
os: [windows-latest, ubuntu-latest] | |
fail-fast: false | |
max-parallel: 4 | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Java ${{ matrix.jdk }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.jdk }} | |
- name: Compile | |
run: | | |
./gradlew clean jar |