Skip to content

going back

going back #14

name: Post log to Slack
on:
push:
branches: ["main"]
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: A job to say hello
steps:
- uses: actions/checkout@v3
- name: Hello world action step
id: hello
uses: ./.github/actions/post-log-to-slack
with:
who-to-greet: "Mona the Octocat"
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
VARS_CONTEXT: ${{ toJson(vars) }}
# Use the output from the `hello` step
- name: Get the output time
run: echo "The time was ${{ steps.hello.outputs.time }}"