From 492f94104cba4a93a738c83987ffa150719cab58 Mon Sep 17 00:00:00 2001 From: npub12wpjffj7q5qjsky5jvk4ldwlxmse5xll3d8gytk4wqd0c5y7jvwspg37n6 <538324a65e0501285894932d5fb5df36e19a1bff8b4e822ed5701afc509e931d@buzz.block.builderlab.xyz> Date: Tue, 28 Jul 2026 11:10:57 -0700 Subject: [PATCH] Remove iOS dependency caches The Hermit and pub caches are a wash on macOS, so remove them from Mobile iOS Build. This returns 2.2 GiB to the 31.6 GB shared cache pool. Co-authored-by: npub12wpjffj7q5qjsky5jvk4ldwlxmse5xll3d8gytk4wqd0c5y7jvwspg37n6 <538324a65e0501285894932d5fb5df36e19a1bff8b4e822ed5701afc509e931d@buzz.block.builderlab.xyz> Signed-off-by: npub12wpjffj7q5qjsky5jvk4ldwlxmse5xll3d8gytk4wqd0c5y7jvwspg37n6 <538324a65e0501285894932d5fb5df36e19a1bff8b4e822ed5701afc509e931d@buzz.block.builderlab.xyz> --- .github/workflows/ci.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0baf9e3c9..6cbe29417 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -859,34 +859,6 @@ jobs: steps: - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 - uses: cashapp/activate-hermit@cea9af7913204a965fd488637a8d1811bba2e616 # v1 - - name: Compute Hermit cache key - id: hermit-bin-hash - run: | - hash="$(find ./bin ! -type d | sort | xargs openssl sha256 | openssl sha256 -r | cut -d' ' -f1)" - echo "hash=$hash" >> "$GITHUB_OUTPUT" - - name: Restore Hermit package cache - id: hermit-cache - uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 - with: - path: ~/Library/Caches/hermit/pkg - key: ${{ runner.os }}-hermit-cache-${{ steps.hermit-bin-hash.outputs.hash }} - restore-keys: ${{ runner.os }}-hermit-cache- - - name: Prime Flutter SDK - run: flutter --version - - name: Save Hermit package cache - if: always() && steps.hermit-cache.outputs.cache-hit != 'true' - uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5 - continue-on-error: true - with: - path: ~/Library/Caches/hermit/pkg - key: ${{ runner.os }}-hermit-cache-${{ steps.hermit-bin-hash.outputs.hash }} - - name: Restore pub cache - id: pub-cache - uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5 - with: - path: ~/.pub-cache - key: pub-${{ runner.os }}-${{ hashFiles('mobile/pubspec.lock') }} - restore-keys: pub-${{ runner.os }}- - name: Install locked CocoaPods shell: bash run: | @@ -934,13 +906,6 @@ jobs: fi - name: Install dependencies run: cd mobile && flutter pub get - - name: Save pub cache - if: always() && steps.pub-cache.outputs.cache-hit != 'true' - uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5 - continue-on-error: true - with: - path: ~/.pub-cache - key: pub-${{ runner.os }}-${{ hashFiles('mobile/pubspec.lock') }} - name: Build unsigned iOS debug app run: just mobile-build-ios - name: Verify CocoaPods lockfile is unchanged