From 61a3be62f2499ffcb606f6831f1a9aace41ef467 Mon Sep 17 00:00:00 2001 From: Felix Wang Date: Fri, 21 Apr 2023 14:58:12 -0700 Subject: [PATCH] ci: Move `publish_ui` flag to correct location (#3606) Move `publish_ui` flag to correct location Signed-off-by: Felix Wang --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37a09c5736..da16c5f8f1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,7 +92,6 @@ jobs: publish-web-ui-npm: - if: github.repository == 'feast-dev/feast' && github.event.inputs.publish_ui == 'true' needs: [validate_version_bumps, get_dry_release_versions] runs-on: ubuntu-latest env: @@ -116,7 +115,7 @@ jobs: run: yarn build:lib - name: Publish UI package working-directory: ./ui - if: github.event.inputs.dry_run == 'false' + if: github.event.inputs.dry_run == 'false' && github.event.inputs.publish_ui == 'true' run: npm publish env: # This publish is working using an NPM automation token to bypass 2FA