Skip to content

Commit d406a90

Browse files
committed
fix: cd src
1 parent 2527ee4 commit d406a90

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build-template.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,10 @@ jobs:
175175
time make stage0 -j$NPROC
176176
- name: Download Lake Cache
177177
if: matrix.name == 'Linux Lake (Cached)'
178-
run: build/stage0/bin/lake cache get --repo=${{ github.event.pull_request.head.repo.full_name || github.repository }}
178+
run: |
179+
cd src
180+
../build/stage0/bin/lake cache get \
181+
--repo=${{ github.event.pull_request.head.repo.full_name || github.repository }}
179182
continue-on-error: true
180183
- name: Build Target Stage
181184
run: |
@@ -205,8 +208,10 @@ jobs:
205208
# shutdown
206209
if: matrix.name == 'Linux Lake' && !cancelled()
207210
run: |
208-
build/stage0/bin/lake build -o build/lake-mappings.jsonl
209-
build/stage0/bin/lake cache put build/lake-mappings.jsonl --repo=${{ github.event.pull_request.head.repo.full_name || github.repository }}
211+
cd src
212+
../build/stage0/bin/lake build -o build/lake-mappings.jsonl
213+
../build/stage0/bin/lake cache put build/lake-mappings.jsonl \
214+
--repo=${{ github.event.pull_request.head.repo.full_name || github.repository }}
210215
env:
211216
LAKE_CACHE_KEY: ${{ secrets.LAKE_CACHE_KEY }}
212217
LAKE_ARTIFACT_ENDPOINT: ${{ secrets.LAKE_ARTIFACT_ENDPOINT }}

0 commit comments

Comments
 (0)