Skip to content

Commit 9795002

Browse files
committed
ci: update publish actions
1 parent 040ab9f commit 9795002

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ env:
1616
- .editorconfig
1717
- docs/**
1818
pull_request: null
19+
workflow_dispatch:
20+
inputs:
21+
publish:
22+
description: 'Publish the npm package.'
23+
required: true
24+
type: boolean
25+
default: false
1926
jobs:
2027
build:
2128
if: '!contains(github.event.head_commit.message, ''skip ci'')'
@@ -189,6 +196,7 @@ jobs:
189196
- name: Test bindings
190197
run: yarn build:ts && yarn test
191198
publish:
199+
if: ${{github.event.inputs.publish}}
192200
name: Publish
193201
runs-on: ubuntu-latest
194202
needs:

0 commit comments

Comments
 (0)