Skip to content

Commit a1eaff5

Browse files
committed
Use options in command
1 parent bb8635f commit a1eaff5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/standalone_publish_custom.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ on:
2828
type: choice
2929
description: Whether to skip individual or toplevel package publishing
3030
options:
31-
-
32-
- --skip-toplevel
33-
- --skip-individual
31+
- none
32+
- skip-toplevel
33+
- skip-individual
3434
packages:
3535
description: Space-separated list of packages to publish
36-
skip-upload:
36+
dry-run:
3737
type: boolean
3838
description: Boolean flag indicating whether to skip uploading the packages (dry run)
3939
patch:
@@ -96,4 +96,4 @@ jobs:
9696
env:
9797
GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
9898
run: |
99-
node lib/node_modules/@stdlib/_tools/scripts/publish_packages.js ${{ github.event.inputs.packages }}
99+
node lib/node_modules/@stdlib/_tools/scripts/publish_packages.js ${{ github.event.inputs.patch == 'true' && '--patch' || '' }} ${{ github.event.inputs.dry-run == 'true' && '--skip-upload' || '' }} ${{ github.event.inputs.skip == 'skip-individual' && '--skip-individual' || '' }} ${{ github.event.inputs.skip == 'skip-toplevel' && '--skip-toplevel' || '' }} ${{ github.event.inputs.packages }}

0 commit comments

Comments
 (0)