From d8a800f0fd4342775c55b8b451ba0d1f6e8ab36d Mon Sep 17 00:00:00 2001 From: Bruce Collie Date: Tue, 7 Nov 2023 12:29:46 +0000 Subject: [PATCH] And on test --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4ae50924ba..731a14ca624 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -267,6 +267,18 @@ jobs: name: homebrew path: homebrew-k-old + - name: Mac Dependencies + run: | + # Via: https://github.com/ledger/ledger/commit/1eec9f86667cad3b0bbafb82a83739a0d30ca09f + # Unlink and re-link to prevent errors when github mac runner images + # install python outside of brew, for example: + # https://github.com/orgs/Homebrew/discussions/3895 + # https://github.com/actions/setup-python/issues/577 + # https://github.com/actions/runner-images/issues/6459 + # https://github.com/actions/runner-images/issues/6507 + # https://github.com/actions/runner-images/issues/2322 + brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done + - name: 'Test brew bottle' id: test env: