More refactorings #2100
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
# 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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # 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 | |