-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Wrapper validation is done as part of setup-gradle, no need to do it ourselves, see https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#gradle-wrapper-validation - Enable storing configuration cache accross builds - Submit dependencies from gradle to GitHub - Do not inspect all tasks on initialization (no longer needed as we have proper configuration cache)
- Loading branch information
Showing
2 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Dependency Submission | ||
permissions: | ||
contents: write | ||
on: | ||
push: | ||
branches: [ 'master' ] | ||
|
||
jobs: | ||
dependency-submission: | ||
runs-on: ubuntu-latest | ||
env: | ||
GRADLE_MICROG_VERSION_WITHOUT_GIT: 1 | ||
|
||
steps: | ||
- name: "Checkout sources" | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: "Setup Java" | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "temurin" | ||
java-version: "17" | ||
- name: "Generate and submit gradle dependency graph" | ||
uses: gradle/actions/dependency-submission@v4 | ||
with: | ||
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} | ||
dependency-graph-continue-on-failure: true | ||
build-scan-publish: true | ||
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use" | ||
build-scan-terms-of-use-agree: "yes" |