GitHub Action to release projects and publish packages
string
Required. GitHub Token from action context
boolean
Optional, defaults to false. If not provided, publishing to the registry will be skipped.
string - glob pattern
Optional. If not provided, publish will work against project root in single mode. Accepts glob pattern to work with multiple or other than root destinations.
string - path
Optional. Path to Release notes file, it will take priority over changelog entries
name: Publish
jobs:
deploy:
name: Package
steps:
- uses: actions/checkout@v7
# your stuff
- uses: zattoo/publish@v3
with:
github_token: ${{github.token}}
sources: 'packages/*'