mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
fix(ci): fix release script inputs;
This commit is contained in:
@@ -49,7 +49,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
TYPE_ARG: ${{ fromJSON('{"auto":"", "patch":"--patch", "minor":"--minor", "major":"--major"}')[github.event.inputs.type] }}
|
TYPE_ARG: ${{ fromJSON('{"auto":"", "patch":"--patch", "minor":"--minor", "major":"--major"}')[github.event.inputs.type] }}
|
||||||
BETA_ARG: ${{ github.event.inputs.beta == true && '--preRelease=beta' || '' }}
|
BETA_ARG: ${{ github.event.inputs.beta == 'true' && '--preRelease=beta' || '' }}
|
||||||
NPM_ARG: ${{ github.event.inputs.npm == false && '--no-npm' || '' }}
|
NPM_ARG: ${{ github.event.inputs.npm == 'false' && '--no-npm' || '' }}
|
||||||
DRY_ARG: ${{ github.event.inputs.dry == true && '--dry-run' || '' }}
|
DRY_ARG: ${{ github.event.inputs.dry == 'true' && '--dry-run' || '' }}
|
||||||
run: npm run release -- --ci --verbose $NPM_ARG $TYPE_ARG $BETA_ARG $DRY_ARG
|
run: npm run release -- --ci --verbose $NPM_ARG $TYPE_ARG $BETA_ARG $DRY_ARG
|
||||||
|
|||||||
Reference in New Issue
Block a user