Skip to content

Commit d625a94

Browse files
arman-bdclaude
andcommitted
perf: add vendor caching to release workflow
Add caching for vendor dependencies in release.yml to significantly speed up wheel builds: - Cache vendor directory across builds - Only rebuild when setup_vendors.sh changes - Saves 10-12 minutes per build This brings release workflow up to parity with test workflow caching. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent fe915df commit d625a94

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,20 @@ jobs:
5252
with:
5353
submodules: recursive
5454

55+
# Cache vendor dependencies to speed up builds
56+
- name: Cache vendor dependencies
57+
uses: actions/cache@v4
58+
with:
59+
path: vendor
60+
key: vendor-${{ runner.os }}-${{ hashFiles('scripts/setup_vendors.sh') }}-v8
61+
restore-keys: |
62+
vendor-${{ runner.os }}-
63+
5564
- name: Build wheels
5665
uses: pypa/cibuildwheel@v2.22.0
66+
env:
67+
# Enable cibuildwheel's internal caching
68+
CIBW_BUILD_FRONTEND: "build"
5769

5870
- uses: actions/upload-artifact@v4
5971
with:

0 commit comments

Comments
 (0)