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

Latest commit

 

History

History
38 lines (33 loc) · 948 Bytes

README.md

File metadata and controls

38 lines (33 loc) · 948 Bytes

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