From 5cb7ac5080a46a1b49c69d1750d9c6258036200e Mon Sep 17 00:00:00 2001 From: Nolwen Date: Thu, 21 Nov 2024 14:43:26 +0100 Subject: [PATCH] Uninstall pkg-config --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5531085..3d63c4a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ concurrency: cancel-in-progress: true jobs: - get-archi: + install-eccodes: strategy: matrix: os: ["macos-latest"] @@ -27,7 +27,8 @@ jobs: steps: - name: install pkgconf run: | + if [[ $(brew list) == *"pkg-config"* ]]; then - brew upgrade pkg-config + brew uninstall $(brew list | grep pkg-config) fi brew install eccodes