From 3206574fa46c9d88fadbfac512ce17229aefe652 Mon Sep 17 00:00:00 2001 From: Fabian Kammel Date: Fri, 29 Apr 2022 10:39:16 +0200 Subject: [PATCH] Fix broken reference in output variables. --- .../actions/creating-actions/creating-a-composite-action.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/actions/creating-actions/creating-a-composite-action.md b/content/actions/creating-actions/creating-a-composite-action.md index 806ed202d588..0c613f3ef8a0 100644 --- a/content/actions/creating-actions/creating-a-composite-action.md +++ b/content/actions/creating-actions/creating-a-composite-action.md @@ -82,7 +82,7 @@ Before you begin, you'll create a repository on {% ifversion ghae %}{% data vari - run: echo Hello ${{ inputs.who-to-greet }}. shell: bash - id: random-number-generator - run: echo "::set-output name=random-number::$(echo $RANDOM)" + run: echo "::set-output name=random-id::$(echo $RANDOM)" shell: bash - run: echo "${{ github.action_path }}" >> $GITHUB_PATH shell: bash @@ -90,7 +90,7 @@ Before you begin, you'll create a repository on {% ifversion ghae %}{% data vari shell: bash ``` {% endraw %} - This file defines the `who-to-greet` input, maps the random generated number to the `random-number` output variable, and runs the `goodbye.sh` script. It also tells the runner how to execute the composite action. + This file defines the `who-to-greet` input, maps the random generated number to the `random-id` output variable, and runs the `goodbye.sh` script. It also tells the runner how to execute the composite action. For more information about managing outputs, see "[`outputs` for a composite action](/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-composite-actions)".