From ba97fa7b48c41d63085fd3c87cd8b25142df89a6 Mon Sep 17 00:00:00 2001 From: Abe Winter Date: Thu, 21 Nov 2024 18:42:16 -0500 Subject: [PATCH] different approach; that broke 14 --- .github/workflows/bottle.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bottle.yml b/.github/workflows/bottle.yml index 40e1212..54d85a8 100644 --- a/.github/workflows/bottle.yml +++ b/.github/workflows/bottle.yml @@ -37,12 +37,11 @@ jobs: - name: build bottle run: | - # without this, macos-15 fails with a brew link error - brew unlink pkg-config brew tap viamrobotics/brews # note: this fails on the nlopt dep to viam-server when viam-server already exists as bottle in the formula file. # weird edge case. recovery is to remove the bottle stanza and delete the uploaded package, then rerun. - brew install --only-dependencies ${{ inputs.formula }} + # note: --overwrite is necessary on macos-15 CI runners where pkg-config is already present; otherwise build fails. + brew install --overwrite --only-dependencies ${{ inputs.formula }} brew install --build-bottle ${{ inputs.formula }} brew bottle --json --root-url $ROOT_URL ${{ inputs.formula }}