Creates GitHub releases for each beachball created tag.
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 }}
MIT License © 2023-Present