Skip to content

Feature: Add command line options --repository-url, --repository-user… #54

Feature: Add command line options --repository-url, --repository-user…

Feature: Add command line options --repository-url, --repository-user… #54

name: Dependency Graph
on:
push:
workflow_dispatch:
inputs:
dependencyGraphAction:
type: choice
description: 'Dependency graph action'
required: true
default: 'generate-and-submit'
options:
- generate-and-submit
- generate-and-upload
permissions:
contents: write
jobs:
dependency-graph:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Generate dependency graph
uses: gradle/actions/dependency-submission@v4
with:
dependency-graph: ${{ github.event.inputs.dependencyGraphAction || 'generate-and-submit' }}