mirror of
https://github.com/tenrok/axios.git
synced 2026-06-05 16:42:32 +03:00
fix(ci): fix release script inputs;
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user