Skip to content

Bump gradle-update/update-gradle-wrapper-action from 1 to 2 #1855

Bump gradle-update/update-gradle-wrapper-action from 1 to 2

Bump gradle-update/update-gradle-wrapper-action from 1 to 2 #1855

Workflow file for this run

name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java_version: ['17', '20']
os: [ubuntu-latest, windows-latest, macOS-latest]
include:
- os: windows-latest
prefix: win
- os: ubuntu-latest
prefix: nix
- os: macOS-latest
prefix: mac
steps:
- uses: actions/[email protected]
with:
submodules: true
lfs: true
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java_version }}
distribution: 'liberica'
- name: Build with Gradle
run: ./gradlew check --stacktrace
- name: Archive test results
if: always() && matrix.prefix == 'nix'
uses: EnricoMi/publish-unit-test-result-action@v2
with:
junit_files: "**/test-results/test/**/*.xml"
- name: Archive test results
if: always() && matrix.prefix != 'nix'
uses: EnricoMi/publish-unit-test-result-action/composite@v2
with:
junit_files: "**/test-results/test/**/*.xml"