Skip to content

Commit 13f5e8b

Browse files
mydeaclaude
andcommitted
fix(ci): Remove enableCrossOsArchive to fix cache version mismatch
Both host (ubuntu-24.04) and container (actions-runner, also Ubuntu 24.04) are the same OS, so enableCrossOsArchive is not needed. Removing it fixes cache misses caused by version hash differences between caches saved without the flag and restores attempted with it. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 76593fd commit 13f5e8b

4 files changed

Lines changed: 0 additions & 7 deletions

File tree

.github/actions/install-dependencies/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ runs:
2020
with:
2121
path: ${{ env.CACHED_DEPENDENCY_PATHS }}
2222
key: ${{ steps.compute_lockfile_hash.outputs.hash }}
23-
enableCrossOsArchive: true
2423

2524
- name: Install dependencies
2625
if: steps.cache_dependencies.outputs.cache-hit != 'true'

.github/actions/restore-cache/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ runs:
1515
with:
1616
path: ${{ env.CACHED_DEPENDENCY_PATHS }}
1717
key: ${{ inputs.dependency_cache_key }}
18-
enableCrossOsArchive: true
1918

2019
- name: Restore build artifacts
2120
uses: actions/download-artifact@v7

.github/workflows/build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,6 @@ jobs:
902902
with:
903903
path: ${{ github.workspace }}/packages/*/*.tgz
904904
key: ${{ env.BUILD_CACHE_TARBALL_KEY }}
905-
enableCrossOsArchive: true
906905

907906
- name: Determine which E2E test applications should be run
908907
id: matrix
@@ -983,7 +982,6 @@ jobs:
983982
with:
984983
path: ${{ github.workspace }}/packages/*/*.tgz
985984
key: ${{ env.BUILD_CACHE_TARBALL_KEY }}
986-
enableCrossOsArchive: true
987985

988986
- name: Build tarballs if not cached
989987
if: steps.restore-tarball-cache.outputs.cache-hit != 'true'
@@ -1102,7 +1100,6 @@ jobs:
11021100
with:
11031101
path: ${{ github.workspace }}/packages/*/*.tgz
11041102
key: ${{ env.BUILD_CACHE_TARBALL_KEY }}
1105-
enableCrossOsArchive: true
11061103

11071104
- name: Build tarballs if not cached
11081105
if: steps.restore-tarball-cache.outputs.cache-hit != 'true'

.github/workflows/canary.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ jobs:
5959
with:
6060
path: ${{ env.CACHED_BUILD_PATHS }}
6161
key: canary-${{ env.HEAD_COMMIT }}
62-
enableCrossOsArchive: true
6362
- name: Install dependencies
6463
run: yarn install
6564
- name: Build packages
@@ -162,7 +161,6 @@ jobs:
162161
with:
163162
path: ${{ env.CACHED_BUILD_PATHS }}
164163
key: canary-${{ env.HEAD_COMMIT }}
165-
enableCrossOsArchive: true
166164

167165
- name: Get node version
168166
id: versions

0 commit comments

Comments
 (0)