Skip to content

Submit dependencies

Submit dependencies #1

Workflow file for this run

---
name: Submit Dependencies
on: # yamllint disable-line rule:truthy
push:
branches:
- main
permissions:
contents: write
jobs:
dependency-submission:
name: Submit Dependencies
strategy:
matrix:
os: [ubuntu-latest] # Just one
java: [11] # Just one
gradle: [wrapper] # Just one
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v3
- name: Setup JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v3
with:
gradle-version: ${{ matrix.gradle }}
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"