My Joke Action, created as part of the Microsoft Create Custom GitHub Action Exercice. Original repository this was cloned from can be found on skills/write-javascript-action.
This action provides the following functionality for GitHub Actions users:
- Provides a joke using the icanhazdadjoke API.
- Prints and provides the joke as part of
output.joke-output
See action.yml.
steps:
- id: joke
name: My Joke Action
uses: mr-ayy/skills-write-javascript-actions@v2
- run: echo "${{ steps.joke.outputs.joke-output }}"