File 1124-gh-Bump-macos-runner-version.patch of Package erlang

From 0ffb25ddbe004f33d7606d2ddaed8e995e278379 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lukas=20Backstr=C3=B6m?= <lukas@erlang.org>
Date: Thu, 17 Oct 2024 11:58:59 +0200
Subject: [PATCH 2/2] gh: Bump macos runner version

---
 .github/workflows/main.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index c54ee01159..5c654315c2 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -102,7 +102,7 @@ jobs:
 
   build-macos:
     name: Build Erlang/OTP (macOS)
-    runs-on: macos-12
+    runs-on: macos-15
     needs: pack
     env:
       WXWIDGETS_VERSION: 3.2.6
@@ -119,7 +119,7 @@ jobs:
         uses: actions/cache@v3.3.2
         with:
           path: wxWidgets
-          key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}-${{ hashFiles('.github/scripts/build-macos-wxwidgets.sh')}}-12
+          key: wxWidgets-${{ env.WXWIDGETS_VERSION }}-${{ runner.os }}-${{ hashFiles('.github/scripts/build-macos-wxwidgets.sh') }}-${{ hashFiles('/System/Library/CoreServices/SystemVersion.plist') }}
 
       - name: Compile wxWidgets
         if: steps.wxwidgets-cache.outputs.cache-hit != 'true'
-- 
2.43.0

openSUSE Build Service is sponsored by