Skip to content

Template to create composite-action for GitHub Actions.

License

Notifications You must be signed in to change notification settings

ryohidaka/composite-action-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

composite-action-template

GitHub Release Test Action License

ko-fi

Template to create composite-action for GitHub Actions.

Usage

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 }}

Inputs

Input Description Required Default
who-to-greet Who to greet World

Outputs

Output Description Example
random-number Random number 9999