Skip to content

Commit a17f005

Browse files
committed
Add dependency submission action workflow file
1 parent f90c38d commit a17f005

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# See https://github.com/gradle/actions/blob/main/docs/dependency-submission.md for more information
2+
3+
name: Dependency Submission
4+
5+
# Trigger this workflow on every pull request to only the main branch
6+
on:
7+
push:
8+
branches: [ 'main' ]
9+
pull_request:
10+
11+
permissions:
12+
contents: write
13+
14+
jobs:
15+
dependency-submission:
16+
runs-on: ubuntu-latest
17+
steps:
18+
# Step names are arbitrary and will appear in the GitHub actions UI
19+
- name: Checkout sources
20+
uses: actions/checkout@v4
21+
22+
- name: Set up the JDK used to run Gradle
23+
uses: actions/setup-java@v4
24+
with:
25+
distribution: 'temurin'
26+
java-version: '17'
27+
28+
# Automatically create a build scan when dependencies are submitted, for further insights
29+
- name: Generate and submit dependency graph
30+
uses: gradle/actions/dependency-submission@v4
31+
with:
32+
build-scan-publish: true
33+
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use"
34+
build-scan-terms-of-use-agree: "yes"

0 commit comments

Comments
 (0)