Template to create composite-action for GitHub Actions.
on: [push]
permissions:
contents: write
jobs:
bump-uses:
runs-on: ubuntu-latest
steps:
- uses: ryohidaka/composite-action-template@v0.3.1
with:
who-to-greet: "Mona the Octocat"
- run: echo random-number "$RANDOM_NUMBER"
shell: bash
env:
RANDOM_NUMBER: ${{ steps.foo.outputs.random-number }}
Input | Description | Required | Default |
---|---|---|---|
who-to-greet |
Who to greet | ✅ | World |
Output | Description | Example |
---|---|---|
random-number |
Random number | 9999 |