File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
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"
You can’t perform that action at this time.
0 commit comments