From b8db6e17986df5351dca8207445e5b848f1e9de0 Mon Sep 17 00:00:00 2001 From: Aaron Paterson Date: Tue, 24 Oct 2023 06:29:06 -0600 Subject: [PATCH] Update workflow-commands-for-github-actions.md (#24924) Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com> --- .../using-workflows/workflow-commands-for-github-actions.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/actions/using-workflows/workflow-commands-for-github-actions.md b/content/actions/using-workflows/workflow-commands-for-github-actions.md index ebfbe83aec..89b87fb260 100644 --- a/content/actions/using-workflows/workflow-commands-for-github-actions.md +++ b/content/actions/using-workflows/workflow-commands-for-github-actions.md @@ -498,12 +498,15 @@ on: push jobs: secret-generator: runs-on: ubuntu-latest + outputs: + handle: {% raw %}${{ steps.generate-secret.outputs.handle }}{% endraw %} steps: - uses: some/secret-store@v1 with:{% raw %} credentials: ${{ secrets.SECRET_STORE_CREDENTIALS }} instance: ${{ secrets.SECRET_STORE_INSTANCE }}{% endraw %} - name: generate secret + id: generate-secret shell: bash run: | GENERATED_SECRET=$((RANDOM))