Skip to content

Commit

Permalink
feat: add mvn dependency submission GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
bobeal committed Oct 23, 2023
1 parent eb8c6bf commit 853a156
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,3 @@ jobs:
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml

# 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@571e99aab1055c2e71a1e2309b9691de18d6b7d6
21 changes: 21 additions & 0 deletions .github/workflows/mvn-dependency-submission.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Java CI with Maven

on:
push:
branches: [ "main" ]

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: Maven Dependency Tree Dependency Submission
uses: advanced-security/[email protected]

0 comments on commit 853a156

Please sign in to comment.