Skip to content

update github actions to v3 #458

update github actions to v3

update github actions to v3 #458

Workflow file for this run

name: ci-pull-request
on:
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/cache@v3
env:
cache-name: m2
with:
path: ~/.m2/repository
key: ${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ env.cache-name }}-
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: adopt
- name: mvn package
run: mvn --batch-mode package