Skip to content

chore: Update pom.xml #205

chore: Update pom.xml

chore: Update pom.xml #205

Workflow file for this run

name: Test & Build
on:
pull_request:
push:
branches:
- master
jobs:
cleanup-run:
runs-on: ubuntu-latest
steps:
- name: Abort previous action run
uses: rokroskar/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- name: Restore Cache
uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Maven Build
run: |
mvn --batch-mode clean install