Update README.md #8
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
name: Submit dependency graph | |
on: | |
push: | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 8 | |
- name: Setup libraries | |
run: | | |
./newrelic-dependencies.sh | |
- name: Setup Gradle to generate and submit dependency graphs | |
uses: gradle/gradle-build-action@v2.6.1 | |
with: | |
dependency-graph: generate-and-submit | |
- name: Run a build, generating the dependency graph snapshot which will be submitted | |
run: ./gradlew build -x test |