Skip to content

Update maven.yml

Update maven.yml #2

Workflow file for this run

name: Run Maven
on: [push, pull_request]
jobs:
maven:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@{latest}
- name: Setup Java JDK
uses: actions/setup-java@{latest}
with:
java-version: |
17
11
8
distribution: temurin
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Submit Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@{latest}