-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build.yml +new gradle dep submitter
- Loading branch information
1 parent
b673124
commit dac5543
Showing
2 changed files
with
34 additions
and
7 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: gradle_dependency_submission | ||
|
||
on: | ||
# Don't build if only text-based files were changed. | ||
# Prevents waiting for unnecessary checks/actions | ||
push: | ||
paths-ignore: | ||
- '**.md' | ||
- '**.txt' | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
- '**.txt' | ||
|
||
# remainder of the file is copied from https://github.com/marketplace/actions/build-with-gradle#the-dependency-submission-action | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
dependency-submission: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 17 | ||
- name: Generate and submit dependency graph | ||
uses: gradle/actions/dependency-submission@v4 |