Skip to content

Commit 0eec50a

Browse files
committed
Implement Dependency Submission workflow
The automatic dependency submission always fails on release commits because the new versions for `delphi-tokens-generator-maven-plugin` and `license-maven-plugin` are unavailable until they've been published. This new workflow installs everything locally before running the dependency submission.
1 parent 168e480 commit 0eec50a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Scan Dependencies
2+
3+
on:
4+
push:
5+
paths:
6+
- '**/pom.xml'
7+
branches:
8+
- 'master'
9+
10+
permissions:
11+
contents: write
12+
13+
jobs:
14+
install:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Setup Java
19+
uses: actions/setup-java@v4
20+
with:
21+
java-version: '17'
22+
distribution: 'temurin'
23+
cache: maven
24+
- name: Maven Install
25+
run: mvn clean install --batch-mode --no-transfer-progress -DskipTests=true
26+
- name: Submit Dependency Snapshot
27+
uses: advanced-security/maven-dependency-submission-action@v4

0 commit comments

Comments
 (0)