From 85ff670ddab3bee678fc244b30c446569b2b6510 Mon Sep 17 00:00:00 2001
From: Martin Ling <martin-git@earth.li>
Date: Tue, 19 Mar 2024 00:13:14 +0000
Subject: [PATCH 04/75] CI: Use special action to install & cache GNU Arm
 toolchain.

---
 .github/workflows/build.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0a0711f7..34cfdd62 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -144,16 +144,18 @@ jobs:
       with:
         submodules: true
 
+    - name: Install Arm GNU Toolchain
+      uses: carlosperate/arm-none-eabi-gcc-action@v1
+
     - name: Install dependencies (macOS)
       run: |
-        brew install --cask gcc-arm-embedded
         brew install dfu-util
         pip3 install PyYAML
       if: matrix.os == 'macos-latest'
 
     - name: Install dependencies (Ubuntu)
       run: |
-        sudo apt install dfu-util gcc-arm-none-eabi
+        sudo apt install dfu-util
       if: matrix.os == 'ubuntu-latest'
 
     - name: Build libopencm3
-- 
2.47.3

