Skip to content

Instantly share code, notes, and snippets.

@twyle
Created May 19, 2022 11:45
Show Gist options
  • Save twyle/2596075bfea2ea1503950a6811842793 to your computer and use it in GitHub Desktop.
Save twyle/2596075bfea2ea1503950a6811842793 to your computer and use it in GitHub Desktop.
# action.yml
name: 'Hello World'
description: 'Greet someone and record the time'
inputs:
who-to-greet: # id of input
description: 'Who to greet'
required: true
default: 'World'
outputs:
time: # id of output
description: 'The time we greeted you'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.who-to-greet }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment