From 56feaca3ec689b412be7a790ebc6ed4981d9aeb3 Mon Sep 17 00:00:00 2001 From: Paul Beusterien <paulbeusterien@google.com> Date: Tue, 26 Dec 2023 15:53:45 -0800 Subject: [PATCH] review cache_key values --- .github/workflows/abtesting.yml | 4 ++-- .github/workflows/appdistribution.yml | 4 ++-- .github/workflows/archiving.yml | 4 ++-- .github/workflows/auth.yml | 6 +++--- .github/workflows/core.yml | 2 +- .github/workflows/core_internal.yml | 2 +- .github/workflows/crashlytics.yml | 4 ++-- .github/workflows/database.yml | 6 +++--- .github/workflows/dynamiclinks.yml | 2 +- .github/workflows/firebase_app_check.yml | 4 ++-- .github/workflows/firebasepod.yml | 2 +- .github/workflows/firestore.yml | 6 +++--- .github/workflows/functions.yml | 4 ++-- .github/workflows/inappmessaging.yml | 4 ++-- .github/workflows/installations.yml | 5 ++--- .github/workflows/messaging.yml | 12 ++++++------ .github/workflows/mlmodeldownloader.yml | 6 +++--- .github/workflows/performance-integration-tests.yml | 2 +- .github/workflows/performance.yml | 6 +++--- .github/workflows/remoteconfig.yml | 8 ++++---- .github/workflows/sessions-integration-tests.yml | 2 +- .github/workflows/sessions.yml | 4 ++-- .github/workflows/shared-swift.yml | 2 +- .github/workflows/spm.yml | 6 +++--- .github/workflows/storage.yml | 4 ++-- .github/workflows/symbolcollision.yml | 2 +- .github/workflows/watchos-sample.yml | 2 +- .github/workflows/zip.yml | 4 ++-- 28 files changed, 59 insertions(+), 60 deletions(-) diff --git a/.github/workflows/abtesting.yml b/.github/workflows/abtesting.yml index 92d8c4c514d..8aaf1c20297 100644 --- a/.github/workflows/abtesting.yml +++ b/.github/workflows/abtesting.yml @@ -60,7 +60,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild @@ -77,7 +77,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: catalyst${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/appdistribution.yml b/.github/workflows/appdistribution.yml index 333848320af..eb5d76880af 100644 --- a/.github/workflows/appdistribution.yml +++ b/.github/workflows/appdistribution.yml @@ -58,7 +58,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild @@ -75,7 +75,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: catalyst${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/archiving.yml b/.github/workflows/archiving.yml index 6b1424d076d..b503d4ef2d9 100644 --- a/.github/workflows/archiving.yml +++ b/.github/workflows/archiving.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: cron-${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh @@ -51,7 +51,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: pods-${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/auth.yml b/.github/workflows/auth.yml index 54cffd87228..212007cf72b 100644 --- a/.github/workflows/auth.yml +++ b/.github/workflows/auth.yml @@ -60,7 +60,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: integration-tests${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh @@ -105,7 +105,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild @@ -121,7 +121,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: catalyst${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index caaa8eb12f4..0b251d24426 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -56,7 +56,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild diff --git a/.github/workflows/core_internal.yml b/.github/workflows/core_internal.yml index 2b730b753e1..3fa93f047a1 100644 --- a/.github/workflows/core_internal.yml +++ b/.github/workflows/core_internal.yml @@ -65,7 +65,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: catalyst${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/crashlytics.yml b/.github/workflows/crashlytics.yml index 84eac9b1cd2..26cc1ceb3a7 100644 --- a/.github/workflows/crashlytics.yml +++ b/.github/workflows/crashlytics.yml @@ -63,7 +63,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild @@ -81,7 +81,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: catalyst${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/database.yml b/.github/workflows/database.yml index e9700c69d02..50fee76ee61 100644 --- a/.github/workflows/database.yml +++ b/.github/workflows/database.yml @@ -54,7 +54,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: integration${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh @@ -81,7 +81,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild @@ -99,7 +99,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: catalyst${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/dynamiclinks.yml b/.github/workflows/dynamiclinks.yml index a3ec4794f24..2cc95b49443 100644 --- a/.github/workflows/dynamiclinks.yml +++ b/.github/workflows/dynamiclinks.yml @@ -55,7 +55,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild diff --git a/.github/workflows/firebase_app_check.yml b/.github/workflows/firebase_app_check.yml index c436b995d3f..3bfe934f3c2 100644 --- a/.github/workflows/firebase_app_check.yml +++ b/.github/workflows/firebase_app_check.yml @@ -65,7 +65,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: ${{ matrix.diagnostics }} - name: Initialize xcodebuild run: scripts/setup_spm_tests.sh - name: iOS Unit Tests @@ -113,7 +113,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild diff --git a/.github/workflows/firebasepod.yml b/.github/workflows/firebasepod.yml index f99b6ae98f3..8573ccd6d0d 100644 --- a/.github/workflows/firebasepod.yml +++ b/.github/workflows/firebasepod.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: firebasepod - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/firestore.yml b/.github/workflows/firestore.yml index 43780faeaee..49464754d05 100644 --- a/.github/workflows/firestore.yml +++ b/.github/workflows/firestore.yml @@ -454,7 +454,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild @@ -475,7 +475,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm-binary - name: Initialize xcodebuild run: scripts/setup_spm_tests.sh - name: iOS Build Test @@ -516,7 +516,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: ${{ matrix.target }} - name: Initialize xcodebuild run: scripts/setup_spm_tests.sh - name: Build Test - Binary diff --git a/.github/workflows/functions.yml b/.github/workflows/functions.yml index 5c92bd1662e..1c19f64a0ae 100644 --- a/.github/workflows/functions.yml +++ b/.github/workflows/functions.yml @@ -68,7 +68,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }} - name: Initialize xcodebuild run: scripts/setup_spm_tests.sh - name: Integration Test Server @@ -99,7 +99,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild diff --git a/.github/workflows/inappmessaging.yml b/.github/workflows/inappmessaging.yml index ba3778150c4..b29a51e0ae5 100644 --- a/.github/workflows/inappmessaging.yml +++ b/.github/workflows/inappmessaging.yml @@ -56,7 +56,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: ${{ matrix.platform }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh @@ -81,7 +81,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild diff --git a/.github/workflows/installations.yml b/.github/workflows/installations.yml index 400ce6125e8..c89c8c695f0 100644 --- a/.github/workflows/installations.yml +++ b/.github/workflows/installations.yml @@ -30,7 +30,6 @@ jobs: - os: macos-12 xcode: Xcode_14.2 test-specs: unit,integration - # Integration tests are flaky on Xcode 15 - os: macos-13 xcode: Xcode_15.1 test-specs: unit @@ -76,7 +75,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild @@ -91,7 +90,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: catalyst${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/messaging.yml b/.github/workflows/messaging.yml index afa3af8e1d9..618e629668b 100644 --- a/.github/workflows/messaging.yml +++ b/.github/workflows/messaging.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: integration - name: Configure test keychain run: scripts/configure_test_keychain.sh - uses: ruby/setup-ruby@v1 @@ -95,7 +95,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Initialize xcodebuild run: scripts/setup_spm_tests.sh - name: Xcode @@ -111,7 +111,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: catalyst${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh @@ -215,7 +215,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: sample${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh @@ -240,7 +240,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: sample${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh @@ -265,7 +265,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: watch-sample${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/mlmodeldownloader.yml b/.github/workflows/mlmodeldownloader.yml index d1bf98828d0..5210baa686f 100644 --- a/.github/workflows/mlmodeldownloader.yml +++ b/.github/workflows/mlmodeldownloader.yml @@ -86,7 +86,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild @@ -101,7 +101,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: catalyst${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh @@ -118,7 +118,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: build-test${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/performance-integration-tests.yml b/.github/workflows/performance-integration-tests.yml index fc15b890a97..25c91e98f83 100644 --- a/.github/workflows/performance-integration-tests.yml +++ b/.github/workflows/performance-integration-tests.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: integration - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 615dba40f15..7f2cedfb6fb 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: ${{ matrix.target }}${{ matrix.test }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh @@ -138,7 +138,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild @@ -153,7 +153,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: catalyst - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/remoteconfig.yml b/.github/workflows/remoteconfig.yml index 1d47fa40155..f7704ff3b2e 100644 --- a/.github/workflows/remoteconfig.yml +++ b/.github/workflows/remoteconfig.yml @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: rc${{ matrix.target }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh @@ -102,7 +102,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild @@ -120,7 +120,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: catalyst${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh @@ -178,7 +178,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: build-test - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/sessions-integration-tests.yml b/.github/workflows/sessions-integration-tests.yml index e72b154b7a2..71f586cc9ee 100644 --- a/.github/workflows/sessions-integration-tests.yml +++ b/.github/workflows/sessions-integration-tests.yml @@ -30,7 +30,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: sessions-integration-tests - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/sessions.yml b/.github/workflows/sessions.yml index 6668aacc5af..ccf8fe00e09 100644 --- a/.github/workflows/sessions.yml +++ b/.github/workflows/sessions.yml @@ -63,7 +63,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild @@ -80,7 +80,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: catalyst${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/shared-swift.yml b/.github/workflows/shared-swift.yml index 9ec06f18e25..5fe07b43f56 100644 --- a/.github/workflows/shared-swift.yml +++ b/.github/workflows/shared-swift.yml @@ -58,7 +58,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild diff --git a/.github/workflows/spm.yml b/.github/workflows/spm.yml index d89b5834aed..53fddd8d0f7 100644 --- a/.github/workflows/spm.yml +++ b/.github/workflows/spm.yml @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild @@ -68,7 +68,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: device${{ matrix.os }}${{ matrix.xcode }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild @@ -95,7 +95,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: platforms${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcode run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Initialize xcodebuild diff --git a/.github/workflows/storage.yml b/.github/workflows/storage.yml index 46d7e5659f9..fc3fcbacdfd 100644 --- a/.github/workflows/storage.yml +++ b/.github/workflows/storage.yml @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: integration${{ matrix.os }} - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh @@ -95,7 +95,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: spm-cron${{ matrix.os }}-${{ matrix.xcode }}-${{ matrix.target }} - name: Xcodes run: ls -l /Applications/Xcode* - name: Xcode diff --git a/.github/workflows/symbolcollision.yml b/.github/workflows/symbolcollision.yml index 588904fd16d..a9088e17c18 100644 --- a/.github/workflows/symbolcollision.yml +++ b/.github/workflows/symbolcollision.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: symbolcollision - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/watchos-sample.yml b/.github/workflows/watchos-sample.yml index 477e5187297..e4e30396280 100644 --- a/.github/workflows/watchos-sample.yml +++ b/.github/workflows/watchos-sample.yml @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: watchos-sample - uses: ruby/setup-ruby@v1 - name: Setup Bundler run: scripts/setup_bundler.sh diff --git a/.github/workflows/zip.yml b/.github/workflows/zip.yml index 92933761e7f..569b12b472f 100644 --- a/.github/workflows/zip.yml +++ b/.github/workflows/zip.yml @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: package-release - name: Xcode 14.1 run: sudo xcode-select -s /Applications/Xcode_14.1.app/Contents/Developer - uses: ruby/setup-ruby@v1 @@ -73,7 +73,7 @@ jobs: - uses: actions/checkout@v4 - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126 with: - cache_key: ${{ matrix.os }} + cache_key: package-head - name: Xcode 14.1 run: sudo xcode-select -s /Applications/Xcode_14.1.app/Contents/Developer - uses: ruby/setup-ruby@v1