From ac8eb874266a11634cdf692a505cbddea1bb3344 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kirill=20M=C3=BCller?= <krlmlr@users.noreply.github.com>
Date: Wed, 27 Nov 2024 09:49:54 +0100
Subject: [PATCH] ci: Ignore errors when removing pkg-config on macOS (#840)

---
 .github/workflows/install/action.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/install/action.yml b/.github/workflows/install/action.yml
index 59673d9c..03bcb1eb 100644
--- a/.github/workflows/install/action.yml
+++ b/.github/workflows/install/action.yml
@@ -78,7 +78,7 @@ runs:
     - name: Remove pkg-config@0.29.2
       if: runner.os == 'macOS'
       run: |
-        brew uninstall pkg-config@0.29.2
+        brew uninstall pkg-config@0.29.2 || true
       shell: bash
 
     - uses: r-lib/actions/setup-pandoc@v2