Skip to content

Commit

Permalink
Map outputs from setup-gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz committed Jan 25, 2024
1 parent 45f7d53 commit b5a97c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,19 @@ inputs:
outputs:
build-scan-url:
description: Link to the Build Scan® generated by a Gradle build. Note that this output applies to a Step executing Gradle, not to the `gradle-build-action` Step itself.
value: ${{ steps.setup-gradle.outputs.build-scan-url }}
dependency-graph-file:
description: Path to the GitHub Dependency Graph snapshot file generated by a Gradle build. Note that this output applies to a Step executing Gradle, not to the `gradle-build-action` Step itself.
value: ${{ steps.setup-gradle.outputs.dependency-graph-file }}
gradle-version:
description: Version of Gradle that was setup by the action

value: ${{ steps.setup-gradle.outputs.gradle-version }}

runs:
using: "composite"
steps:
- name: Setup Gradle
id: setup-gradle
uses: gradle/actions/setup-gradle@v3-beta
with:
gradle-version: ${{ inputs.gradle-version }}
Expand Down

0 comments on commit b5a97c1

Please sign in to comment.