Skip to content

Commit

Permalink
Merge pull request #740 from gradle/dd/dependency-graph-actions
Browse files Browse the repository at this point in the history
Initial support for GitHub Dependency Submission
  • Loading branch information
bigdaz committed Jun 28, 2023
2 parents 1b2daf5 + 75a86cf commit fce96e0
Show file tree
Hide file tree
Showing 12 changed files with 98,221 additions and 18 deletions.
19 changes: 19 additions & 0 deletions actions/dependency-graph-generate/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Dependency Graph Generate"
description: Calculates the complete dependency graph for the repository, saving it as a JSON artifact.

inputs:
gradle-version:
description: Gradle version to use. If specified, this Gradle version will be downloaded, added to the PATH and used for invoking Gradle.
required: false

gradle-executable:
description: Path to the Gradle executable. If specified, this executable will be added to the PATH and used for invoking Gradle.
required: false

build-root-directory:
description: Path to the root directory of the build. Default is the root of the GitHub workspace.
required: false

runs:
using: 'node16'
main: '../../dist/dependency-graph-generate/index.js'
12 changes: 12 additions & 0 deletions actions/dependency-graph-submit/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Dependency Graph Submit"
description: Retrieves a previously created dependency graph JSON and submits via the GitHub Dependency Submission API.

inputs:
github-token:
description: The GitHub token used to authenticate when submitting via the Dependency Submission API.
default: ${{ github.token }}
required: false

runs:
using: 'node16'
main: '../../dist/dependency-graph-submit/index.js'
72,829 changes: 72,829 additions & 0 deletions dist/dependency-graph-generate/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/dependency-graph-generate/index.js.map

Large diffs are not rendered by default.

24,783 changes: 24,783 additions & 0 deletions dist/dependency-graph-submit/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/dependency-graph-submit/index.js.map

Large diffs are not rendered by default.

0 comments on commit fce96e0

Please sign in to comment.