Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.77 KB

README.md

File metadata and controls

45 lines (36 loc) · 1.77 KB

action-beachball-release

made by RightCapital GitHub Workflow Status (with event) Conventional Commits RightCapital frontend style guide

Creates GitHub releases for each beachball created tag.

Usage

name: Release
on:
  push:
    tags:
      # Match tags created by beachball('package-name_v1.0.0' or 'package-scope/package-name_v1.0.0')
      - 'package-name_v*'
      - '@package-scope/*'
jobs:
  release:
    runs-on: ubuntu-latest
    steps:
      # Checkout the repo contents is necessary.
      # `action-beachball-release` needs changelog files generated by beachball from the repo.
      - uses: actions/checkout@v4

      - uses: rightcapitalhq/action-beachball-release@v1
        with:
          # The beachball created tag name. The action will create a release for this tag.
          tag: ${{ github.ref_name }}
          # The `repo-url` is used to generate links to the changelog files.
          # For example: https://github.com/RightCapitalHQ/action-beachball-release
          repo-url: ${{ github.server_url }}/${{ github.repository }}
          # The `token` is used to create GitHub releases.
          token: ${{ secrets.GITHUB_TOKEN }}

License

MIT License © 2023-Present