Merge pull request #198 from jenkinsci/gradle-depencency-submission #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# calculates dependencies for a Gradle build-target and submits the list to the Dependency Submission API. | |
name: Dependency Submission | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
dependency-submission: | |
runs-on: ubuntu-latest | |
permissions: # The Dependency Submission API requires write permission | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Generate and submit dependency graph | |
uses: gradle/actions/dependency-submission@v4 |