Update call-reusable-workflow.yml #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Hello World' | |
description: 'Greet someone' | |
inputs: | |
who-to-greet: # id of input | |
description: 'Who to greet' | |
required: true | |
default: 'World' | |
outputs: | |
random-number: | |
description: "Random number" | |
value: ${{ steps.random-number-generator.outputs.random-number }} | |
runs: | |
using: "composite" | |
steps: | |
- run: echo Hello ${{ inputs.who-to-greet }}. | |
shell: bash | |
- id: random-number-generator | |
run: echo "random-number=$(echo $RANDOM)" >> $GITHUB_OUTPUT | |
shell: bash | |
- run: echo "${{ github.action_path }}" >> $GITHUB_PATH | |
shell: bash | |
- run: goodbye.sh | |
shell: bash |