Skip to content

Commit cded5ec

Browse files
authored
chore(ci): add input type to the publish package workflow (#3236)
1 parent 8a85ca2 commit cded5ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish-package.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
inputs:
88
package:
99
description: 'The package to publish'
10+
type: choice
1011
required: true
1112
options:
1213
- packages/batch
@@ -49,4 +50,4 @@ jobs:
4950
uses: aws-powertools/actions/.github/actions/cached-node-modules@d406bac5563f1d8c793519a3eedfe620f6a14872
5051
- name: Publish to npm
5152
run: |
52-
NPM_CONFIG_PROVENANCE=true npx lerna publish from-package --force-publish ${{ github.event.input.package }} --git-head ${{ github.sha }} --yes
53+
NPM_CONFIG_PROVENANCE=true npx lerna publish from-package --force-publish ${{ github.event.input.package }} --git-head ${{ github.sha }} --yes

0 commit comments

Comments
 (0)