Skip to content

Commit

Permalink
Update GitHub workflow to allow for upload only.
Browse files Browse the repository at this point in the history
  • Loading branch information
smarkwal committed Apr 4, 2024
1 parent abbdec0 commit 4aef7f4
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 27 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/dependency-graph.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Dependency Graph

on:
push:
workflow_dispatch:
inputs:
dependencyGraphAction:
type: choice
description: 'Dependency graph action'
required: false
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@v3
with:
dependency-graph: ${{ github.event.inputs.dependencyGraphAction }}
27 changes: 0 additions & 27 deletions .github/workflows/dependency-submission.yml

This file was deleted.

0 comments on commit 4aef7f4

Please sign in to comment.