Skip to content

build(deps): Bump actions/checkout from 2 to 6 #7

build(deps): Bump actions/checkout from 2 to 6

build(deps): Bump actions/checkout from 2 to 6 #7

Workflow file for this run

name: Build CI
on: [ push ]
jobs:
build:
name: Build CI JDK ${{ matrix.java }}
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
java: [ "8", "16" ]
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
distribution: "adopt"
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-build-${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -B --update-snapshots package