Skip to content

Commit e99c0e4

Browse files
author
arman-bd
committed
fix: use relative vendor path and add cache verification
1 parent 71d3f77 commit e99c0e4

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/_benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ jobs:
7979
id: cache-vendor
8080
uses: actions/cache@v4
8181
with:
82-
path: ${{ github.workspace }}/vendor
83-
key: vendor-${{ runner.os }}-${{ hashFiles('scripts/setup_vendors.sh') }}-v6
82+
path: vendor
83+
key: vendor-${{ runner.os }}-${{ hashFiles('scripts/setup_vendors.sh') }}-v7
8484
restore-keys: |
8585
vendor-${{ runner.os }}-
8686

.github/workflows/_test.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ jobs:
157157
id: cache-vendor
158158
uses: actions/cache@v4
159159
with:
160-
path: ${{ github.workspace }}/vendor
161-
key: vendor-${{ runner.os }}-${{ hashFiles('scripts/setup_vendors.sh') }}-v6
160+
path: vendor
161+
key: vendor-${{ runner.os }}-${{ hashFiles('scripts/setup_vendors.sh') }}-v7
162162
restore-keys: |
163163
vendor-${{ runner.os }}-
164164
@@ -169,6 +169,13 @@ jobs:
169169
./scripts/setup_vendors.sh
170170
shell: bash
171171

172+
- name: Verify vendor directory for caching
173+
run: |
174+
echo "Checking vendor directory contents..."
175+
ls -lah vendor/ || echo "vendor directory not found"
176+
du -sh vendor/ 2>/dev/null || echo "Cannot get vendor size"
177+
shell: bash
178+
172179
- name: Cache Python build artifacts
173180
uses: actions/cache@v4
174181
with:

0 commit comments

Comments
 (0)