2.3.0 • Published 1 year ago
github-actions-releaser v2.3.0
Inputs
Key | Description | Required | Type |
---|---|---|---|
GITHUB_TOKEN | The github Token | TRUE | SECRET |
TAG_NAME | The new tag name. Do not use it if you want to auto tagging | FALSE | String |
Example usage
Create the file workflow.yml
in .github/workflows
folder.
name: Release
on:
push:
tags:
- 'v*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate release notes
uses: raulanatol/github-actions-releaser@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
With custom tag name
name: Release
on:
push:
tags:
- 'v*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate release notes
uses: raulanatol/github-actions-releaser@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG_NAME: vTestName