Skip to content

chore(github): add comment to runner-images #244

chore(github): add comment to runner-images

chore(github): add comment to runner-images #244

# https://docs.github.com/en/actions/creating-actions/about-custom-actions
name: Custom Actions
on: [push]
jobs:
# https://github.com/remarkablemark/hello-world-javascript-action
hello-world-javascript-action:
runs-on: ubuntu-latest
steps:
- name: Hello world action step
id: hello
uses: remarkablemark/hello-world-javascript-action@v1
with:
who-to-greet: 'Mona the Octocat'
# Use the output from the `hello` step
- name: Get the output time
run: echo "The time was ${{ steps.hello.outputs.time }}"
# https://github.com/remarkablemark/hello-world-composite-action
hello-world-composite-action:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: foo
uses: remarkablemark/hello-world-composite-action@v1
with:
who-to-greet: 'Mona the Octocat'
- run: echo random-number ${{ steps.foo.outputs.random-number }}
shell: bash