Skip to content

Update actions/checkout digest to 1d96c77 #1999

Update actions/checkout digest to 1d96c77

Update actions/checkout digest to 1d96c77 #1999

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Java CI with Maven
on:
push:
branches: [ '**' ]
jobs:
build-with-maven-cache-github-action:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'temurin'
- name: Restore cache
uses: skjolber/maven-cache-github-action@v1
with:
step: restore
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Save cache
uses: skjolber/maven-cache-github-action@v1
with:
step: save