Update build.yml +new gradle dep submitter #1
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: 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 |