Skip to content

Commit

Permalink
Submit dependency graph to GitHub on CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
erichaagdev committed Dec 20, 2023
1 parent 903d630 commit f37c3f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: "Build Gradle project"
on: [ push, pull_request, workflow_dispatch ]

permissions:
contents: write

jobs:
build:
name: Test JVM/Gradle (${{ matrix.java-version }}, ${{ matrix.gradle-version }})
Expand All @@ -19,6 +22,8 @@ jobs:
distribution: 'liberica'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
dependency-graph: generate-and-submit
- name: Build with Gradle
run: "./gradlew clean build -PtestJavaRuntimeVersion=${{ matrix.java-version }} -PtestGradleVersion=${{ matrix.gradle-version }}"
env:
Expand Down

0 comments on commit f37c3f8

Please sign in to comment.