Skip to content

Commit

Permalink
no default buildScript
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo committed Oct 23, 2024
1 parent 9e86f08 commit e8d3798
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
buildScript:
required: false
type: string
default: build
npmTag:
required: false
type: string
Expand Down Expand Up @@ -82,7 +81,7 @@ jobs:
uses: the-guild-org/changesets-snapshot-action@v0.0.2
with:
tag: ${{ inputs.npmTag }}
prepareScript: '${{steps.env.outputs.package-manager}} run ${{ inputs.buildScript }}'
prepareScript: ${{ inputs.buildScript == '' && '' || format('{0} run {1}', steps.env.outputs.package-manager, inputs.buildScript) }}
env:
NPM_TOKEN: ${{ secrets.npmToken }}
GITHUB_TOKEN: ${{ secrets.githubToken }}

0 comments on commit e8d3798

Please sign in to comment.