From e7421c11172aaafff34da98fc14cf763c2d70002 Mon Sep 17 00:00:00 2001 From: Achal Shah Date: Sat, 25 Mar 2023 11:51:04 -0700 Subject: [PATCH] fix(cI): Install coreutils in mac github workers for smoke test (#3563) Signed-off-by: Achal Shah --- .github/workflows/build_wheels.yml | 5 ++++- .github/workflows/release.yml | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 20a9f57a2a..9bed2a4282 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -52,7 +52,7 @@ jobs: echo $HIGHEST_SEMVER_TAG build-python-wheel: - name: Build wheels on ${{ matrix.os }} + name: Build wheels runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -164,6 +164,9 @@ jobs: with: name: wheels path: dist + - name: Install OS X dependencies + if: matrix.os == 'macos-10.15' + run: brew install coreutils - name: Install wheel if: ${{ !matrix.from-source }} # try to install all wheels; only the current platform wheel should be actually installed diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f18ee10cb1..d064842afc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -92,7 +92,7 @@ jobs: publish-web-ui-npm: - if: github.repository == 'feast-dev/feast' + if: github.repository == 'feast-dev/feast' and github.event.inputs.publish_ui == 'true' needs: [validate_version_bumps, get_dry_release_versions] runs-on: ubuntu-latest env: @@ -115,7 +115,6 @@ jobs: working-directory: ./ui run: yarn build:lib - name: Publish UI package - if: github.event.inputs.publish_ui == 'true' working-directory: ./ui run: npm publish env: