From d82767f5dffd53fd7ac481a07ed45f78d1932aa4 Mon Sep 17 00:00:00 2001 From: Uruk Date: Fri, 15 Aug 2025 04:56:01 +0200 Subject: [PATCH] ci: simplify bun cache key in iOS build workflow Removes architecture-specific and branch-specific components from the cache key to improve cache hit rates across different runners and branches. The simplified key structure reduces cache fragmentation while maintaining cache effectiveness through the bun.lock hash. --- .github/workflows/build-ios.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml index d5b587cd..d7cb2d6d 100644 --- a/.github/workflows/build-ios.yml +++ b/.github/workflows/build-ios.yml @@ -42,10 +42,9 @@ jobs: uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: ~/.bun/install/cache - key: ${{ runner.os }}-${{ runner.arch }}-bun-develop-${{ hashFiles('bun.lock') }} + key: ${{ runner.os }}-bun-cache-${{ hashFiles('bun.lock') }} restore-keys: | - ${{ runner.os }}-${{ runner.arch }}-bun-develop - ${{ runner.os }}-bun-develop + ${{ runner.os }}-bun-cache - name: 📦 Install dependencies and reload submodules run: |