From b64516e146994612d37662921d4b40acfafaaabf Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 27 Apr 2023 01:25:43 +0000 Subject: [PATCH] cherry-pick(#22673): devops: fix workflow publishing The release workflow is failing with the [following error](https://github.com/microsoft/playwright/actions/runs/4814866583): image This was regressed in https://github.com/microsoft/playwright/pull/22232/ --- .github/workflows/publish_release_npm.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_release_npm.yml b/.github/workflows/publish_release_npm.yml index d2f9d7d34d7fd..474157edf1e12 100644 --- a/.github/workflows/publish_release_npm.yml +++ b/.github/workflows/publish_release_npm.yml @@ -23,10 +23,10 @@ jobs: - run: npm run build - run: npx playwright install-deps - run: utils/publish_all_packages.sh --release-candidate - if: github.event.release.prerelease + if: "github.event.release.prerelease" env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - run: utils/publish_all_packages.sh --release - if: !github.event.release.prerelease + if: "!github.event.release.prerelease" env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}