- GitHub market place
- The same repository as your workflow file
- Any public repository
- A published Docker container image on Docker Hub
Reference the action with either the {owner}/{repo}@{ref}
or ./path/to/dir
syntax in your workflow file.
|-- actions-playground
| |__ .github
| |__ workflows
| |__ my-workflow.yml
| |__ actions
| |__ local-action
| |__ action.yml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/local-action