Skip to content

mavenVerify.yml

mavenVerify.yml #1

Workflow file for this run

name: Maven Verify (Validate,Compile,Package,...)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Verify with Maven (Validate,Compile,Package,...)
run: 'mvn --batch-mode --update-snapshots verify'
shell: bash
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
# - name: Update dependency graph
# uses: advanced-security/maven-dependency-submission-action@v3