Get A Dad Joke
ActionsEveryone loves Dad Jokes! I return a random Dad Joke from icanhazdadjoke
v1
LatestThe Get A Dad Joke Action is a composite run step custom action that tells you a dad joke. After all, who doesn't love dad jokes, right?
This action makes use of the icanhazdadjoke api to randomly retrieve a joke as a text string. The action will display the joke in the run log, and also output the joke as an output variable, that can be used by other steps.
jobs:
tellmeajoke:
runs-on: ubuntu-latest
steps:
# Get the joke
- id: myjoke
uses: mickeygoussetorg/get-a-dad-joke@v1
# Use the joke output in another step
- name: Output Dad Joke
run: echo "${{ steps.myjoke.outputs.dad-joke }}"
Variable Name | Description |
---|---|
dad-joke | Text string containing the dad joke |
Get A Dad Joke is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.