Skip to content

chore(ci): update actions/checkout to version 4.1.4 #588

chore(ci): update actions/checkout to version 4.1.4

chore(ci): update actions/checkout to version 4.1.4 #588

Workflow file for this run

name: Java CI
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest, ubuntu-latest, macos-latest ]
java: [ 8, 11, 17, 19, 21 ]
steps:
- uses: actions/checkout@v4.1.4
- name: Set up JDK
uses: actions/setup-java@v4.2.1
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
cache: 'maven'
- name: Set up GCS Maven Central mirror
run: echo "<settings><mirrors><mirror><id>google-maven-central</id><name>GCS Maven Central mirror</name><url>https://maven-central.storage-download.googleapis.com/maven2/</url><mirrorOf>central</mirrorOf></mirror></mirrors></settings>" > ~/.m2/settings.xml
- name: java -version
run: java -version
- name: mvn -version
run: ./mvnw -version
- name: Build
run: ./mvnw -B package -DskipTests
- name: Test
run: ./mvnw -B verify