From 98abd7f6692fb44389986bbcedb6f619d1ec2bec Mon Sep 17 00:00:00 2001 From: Ethan Dickson Date: Thu, 12 Dec 2024 05:45:37 +0000 Subject: [PATCH] ci: build dylib only on PRs with go changes --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index af2a7bb1bd66b..d0cc85b7052ae 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -895,7 +895,7 @@ jobs: needs: changes # We always build the dylibs on Go changes to verify we're not merging unbuildable code, # but they need only be signed and uploaded on coder/coder main. - if: needs.changes.outputs.docs-only == 'false' || github.ref == 'refs/heads/main' + if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main' runs-on: ${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest' }} steps: - name: Harden Runner