Skip to content

Commit bf2ec60

Browse files
Debugging cache settings
1 parent fb7391f commit bf2ec60

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,17 @@ jobs:
174174
uses: ./.github/actions/setup
175175

176176
- name: Cache turborepo for iOS
177-
uses: actions/cache@v3
177+
uses: actions/cache@v4
178178
with:
179179
path: ${{ env.TURBO_CACHE_DIR }}
180180
key: ${{ runner.os }}-turborepo-ios-${{ hashFiles('yarn.lock') }}
181181
restore-keys: |
182182
${{ runner.os }}-turborepo-ios-
183183
184+
- name: Debug Cache Key
185+
run: |
186+
echo "Cache key would be: ${{ runner.os }}-turborepo-ios-${{ hashFiles('yarn.lock') }}"
187+
184188
- name: Check turborepo cache for iOS
185189
run: |
186190
TURBO_CACHE_STATUS=$(node -p "($(yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:ios').cache.status")
@@ -192,7 +196,7 @@ jobs:
192196
- name: Cache cocoapods
193197
if: env.turbo_cache_hit != 1
194198
id: cocoapods-cache
195-
uses: actions/cache@v3
199+
uses: actions/cache@v4
196200
with:
197201
path: |
198202
**/ios/Pods

0 commit comments

Comments
 (0)