Release Npm Package
name: Release
on:
workflow_dispatch:
inputs:
action-type:
description: 'Action Type ( Release | Back )'
required: true
default: 'Release'
sprint:
description: 'Sprint Number'
required: true
release-notes:
description: 'Tag Message'
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: unosquare/release-npm-package@v7
name: Getting Release Version
with:
action-type: ${{ github.event.inputs.action-type }}
# If you use a different repo, you need to provide a Personal Access Token
github_token: ${{ github.token }}
sprint: ${{ github.event.inputs.sprint }}
release-notes: ${{ github.event.inputs.release-notes }}
# Optional parameter, if empty use current repo.
repo: unosquare/repo