Update lab05.md #5
Workflow file for this run
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: 05-2. Hello World Composite | |
on: | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
hello_world_job1: | |
runs-on: ubuntu-latest | |
name: A job1 to say hello | |
steps: | |
- id: hello-world | |
uses: githubabcs/hello-world-composite-action@main | |
with: | |
who-to-greet: 'Hello from GH ABCs' | |
- run: echo random-number ${{ steps.hello-world.outputs.random-number }} | |
shell: bash | |
hello_world_job2: | |
runs-on: ubuntu-latest | |
name: A job2 to say hello | |
steps: | |
- uses: actions/checkout@v4 | |
- id: hello-world | |
uses: ./.github/actions/hello-world-composite-action | |
with: | |
who-to-greet: 'Mona the Octocat from composite action' | |
- run: echo random-number from composite action ${{ steps.hello-world.outputs.random-number }} | |
shell: bash |