Skip to content

Commit

Permalink
chore(ci): add input type to the publish package workflow (#3236)
Browse files Browse the repository at this point in the history
  • Loading branch information
am29d authored Oct 22, 2024
1 parent 8a85ca2 commit cded5ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
inputs:
package:
description: 'The package to publish'
type: choice
required: true
options:
- packages/batch
Expand Down Expand Up @@ -49,4 +50,4 @@ jobs:
uses: aws-powertools/actions/.github/actions/cached-node-modules@d406bac5563f1d8c793519a3eedfe620f6a14872
- name: Publish to npm
run: |
NPM_CONFIG_PROVENANCE=true npx lerna publish from-package --force-publish ${{ github.event.input.package }} --git-head ${{ github.sha }} --yes
NPM_CONFIG_PROVENANCE=true npx lerna publish from-package --force-publish ${{ github.event.input.package }} --git-head ${{ github.sha }} --yes

0 comments on commit cded5ec

Please sign in to comment.