Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Release NPM Package

Notifications You must be signed in to change notification settings

unosquare/release-npm-package

Repository files navigation

release-npm-package

Release Npm Package

Usage

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