Skip to content

Commit

Permalink
updating release workflow
Browse files Browse the repository at this point in the history
NikTheGeek1 committed Mar 13, 2024
1 parent 452ce65 commit 5964d1a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
@@ -2,11 +2,20 @@ name: Publish Package to npmjs
on:
release:
types: [created]
workflow_dispatch:
inputs:
branch:
description: 'The branch to checkout'
required: false
default: 'master'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.branch || 'master' }}

# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v2
with:

0 comments on commit 5964d1a

Please sign in to comment.