From b672d538237d16163ca462e3f0e21753110fa8a7 Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Fri, 3 Oct 2025 16:12:56 -0400 Subject: [PATCH] [ci] Fix incorrect filtering logic for prereleases 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. --- .github/workflows/runtime_prereleases.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/runtime_prereleases.yml b/.github/workflows/runtime_prereleases.yml index 235108996d33..6559b1449971 100644 --- a/.github/workflows/runtime_prereleases.yml +++ b/.github/workflows/runtime_prereleases.yml @@ -93,7 +93,7 @@ jobs: --tags=${{ inputs.dist_tag }} \ --skipPackages=${{ inputs.skip_packages }} ${{ (inputs.dry && '') || '\'}} ${{ inputs.dry && '--dry' || '' }} - - if: '${{ !(inputs.skip_packages && inputs.only_packages) }}' + - if: '${{ !inputs.skip_packages && !inputs.only_packages }}' name: 'Publish all packages' run: | scripts/release/publish.js \