Skip to content

Commit bc23561

Browse files
authored
[ci] Fix incorrect filtering logic for prereleases (#34725)
The workflow was correctly publishing the package(s) specified in `only`, but due to incorrect logic it would also run the 'Publish all packages' step.
1 parent 4fdf7cf commit bc23561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/runtime_prereleases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
--tags=${{ inputs.dist_tag }} \
9494
--skipPackages=${{ inputs.skip_packages }} ${{ (inputs.dry && '') || '\'}}
9595
${{ inputs.dry && '--dry' || '' }}
96-
- if: '${{ !(inputs.skip_packages && inputs.only_packages) }}'
96+
- if: '${{ !inputs.skip_packages && !inputs.only_packages }}'
9797
name: 'Publish all packages'
9898
run: |
9999
scripts/release/publish.js \

0 commit comments

Comments
 (0)