Skip to content

GitHub Action for publishing projects & packages

License

Notifications You must be signed in to change notification settings

zattoo/publish

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

89444e7 · Jan 22, 2025

History

48 Commits
Jul 26, 2024
Jul 26, 2024
Jul 26, 2024
Nov 4, 2020
Jul 26, 2024
Oct 21, 2020
Oct 21, 2020
Feb 21, 2024
Jul 29, 2024
Oct 21, 2020
Jul 26, 2024
Jul 26, 2024
Jan 22, 2025
Jul 29, 2024
Jul 26, 2024

Repository files navigation

Publish

GitHub Action to release projects and publish packages

Inputs

github_token

string

Required. GitHub Token from action context

publish_package

boolean

Optional. If not provided, publishing to the registry will be skipped.

sources

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.

notes

string - path

Optional. Path to Release notes file, it will take priority over changelog entries

Usage Example

name: Publish
jobs:
  deploy:
    name: Package
    steps:
      - uses: actions/checkout@v4
      # your stuff
      - uses: zattoo/publish@v1
        with:
          github_token: ${{github.token}}
          sources: 'packages/*'