Skip to content

Commit

Permalink
Enable Dependency graph submission
Browse files Browse the repository at this point in the history
  • Loading branch information
erichaagdev committed Dec 19, 2023
1 parent 903d630 commit e5bfad6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .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 @@ -18,7 +21,9 @@ jobs:
java-version: 11
distribution: 'liberica'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@prerelease/v2.11.1
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 e5bfad6

Please sign in to comment.