Release #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
workflow_dispatch: | |
inputs: | |
NEXT_VERSION: | |
description: Define next version (major/minor/patch) | |
required: true | |
REPOSITORY_NAME: | |
description: Repository full name (e.g. chrvadala/hello ) | |
required: true | |
jobs: | |
build_and_release: | |
runs-on: ubuntu-22.04 | |
if: ${{ github.event.inputs.REPOSITORY_NAME == github.repository }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Release library | |
uses: chrvadala/github-actions/nodejs-release-library-action@v1 | |
with: | |
NEXT_VERSION: ${{ github.event.inputs.NEXT_VERSION }} | |
NPM_TOKEN: ${{ secrets.npm_token }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |