Skip to content

Merge pull request #380 from qbicsoftware/dependabot/github_actions/a… #1321

Merge pull request #380 from qbicsoftware/dependabot/github_actions/a…

Merge pull request #380 from qbicsoftware/dependabot/github_actions/a… #1321

Workflow file for this run

name: Build Maven Package
on:
push:
branches:
- '**'
pull_request:
# The branches below must be a subset of the branches above
branches: [ main, master ]
jobs:
package:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '8'
- name: Load local Maven repository cache
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run mvn package
run: mvn -B package --file pom.xml