From 20a8949fffe758b5b04d65dda6d37510429b6e37 Mon Sep 17 00:00:00 2001 From: Bill Teng <135061747+TT-billteng@users.noreply.github.com> Date: Sat, 21 Sep 2024 05:43:00 -0700 Subject: [PATCH] Don't install dependencies on self-hosted builders (#12965) #0: don't try installing deps on local builders --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3fc50de5c83..00eda30ee87 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -28,12 +28,12 @@ jobs: steps: - uses: tenstorrent-metal/metal-workflows/.github/actions/checkout-with-submodule-lfs@v2.0.0 - name: Install dependencies - if: ${{ matrix.build.runs-on != 'build' }} + if: ${{ !contains(matrix.build.runs-on, 'build') && !contains(matrix.build.runs-on, 'in-service') }} uses: ./.github/actions/install-metal-deps with: os: ${{ matrix.build.os }} - name: Install dev dependencies - if: ${{ matrix.build.runs-on != 'build' }} + if: ${{ !contains(matrix.build.runs-on, 'build') && !contains(matrix.build.runs-on, 'in-service') }} uses: ./.github/actions/install-metal-dev-deps with: os: ${{ matrix.build.os }}