diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b4a2b7a41..4f1be09d3b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TYPE_ARG: ${{ fromJSON('{"auto":"", "patch":"--patch", "minor":"--minor", "major":"--major"}')[github.event.inputs.type] }} - BETA_ARG: ${{ github.event.inputs.beta == true && '--preRelease=beta' || '' }} - NPM_ARG: ${{ github.event.inputs.npm == false && '--no-npm' || '' }} - DRY_ARG: ${{ github.event.inputs.dry == true && '--dry-run' || '' }} + BETA_ARG: ${{ github.event.inputs.beta == 'true' && '--preRelease=beta' || '' }} + NPM_ARG: ${{ github.event.inputs.npm == 'false' && '--no-npm' || '' }} + DRY_ARG: ${{ github.event.inputs.dry == 'true' && '--dry-run' || '' }} run: npm run release -- --ci --verbose $NPM_ARG $TYPE_ARG $BETA_ARG $DRY_ARG