[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.
lauren committed
Oct 3, 2025 at 16:37 UTC
bc2356176bca3e42e84ce8d196fdc525677cc36b
1 file changed
+1
-1
.github/workflows/runtime_prereleases.yml
+1
-1
@@ -93,7 +93,7 @@ jobs:
93
--tags=${{ inputs.dist_tag }} \
94
--skipPackages=${{ inputs.skip_packages }} ${{ (inputs.dry && '') || '\'}}
95
${{ inputs.dry && '--dry' || '' }}
96
- - if: '${{ !(inputs.skip_packages && inputs.only_packages) }}'
96
+ - if: '${{ !inputs.skip_packages && !inputs.only_packages }}'
97
name: 'Publish all packages'
98
run: |
99
scripts/release/publish.js \