Skip to content

Commit 60538f1

Browse files
committed
ci(release): Fix translating workflow input to release packages script options
1 parent e10af97 commit 60538f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
git config user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
7878
7979
- name: Release packages on '${{ inputs.channel }}' channel
80-
run: yarn release -c ${{ inputs.channel }} --verbose ${{ inputs.publish-only && '--publishOnly' }} ${{ inputs.skip-publish && '--skipPublish' }} ${{ inputs.github-release && '--githubRelease'}}
80+
run: yarn release -c ${{ inputs.channel }} --verbose ${{ inputs.publish-only && '--publishOnly' || '' }} ${{ inputs.skip-publish && '--skipPublish' || '' }} ${{ inputs.github-release && '--githubRelease' || '' }}
8181
env:
8282
RELEASE_ENABLED: ${{ vars.RELEASE_ENABLED }}
8383
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)