Skip to content

Commit 3e9f504

Browse files
chore: use tmpdir to avoid no space left error (#9486)
* refactor: map docker tmp to host tmp --------- Co-authored-by: pshu <pishu.spf@antfin.com>
1 parent 3a60a03 commit 3e9f504

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/actions/docker-build/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ runs:
6060
-v $CARGO_HOME/registry/index:/usr/local/cargo/registry/index \
6161
-v $CARGO_HOME/registry/cache:/usr/local/cargo/registry/cache \
6262
-v $CARGO_HOME/git/db:/usr/local/cargo/git/db \
63+
-v /tmp:/tmp \
6364
${{ inputs.options }} \
6465
-e CI=1 \
6566
-e HOME=$HOME \

.github/workflows/reusable-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ jobs:
273273
env:
274274
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
275275
PUPPETEER_SKIP_DOWNLOAD: true
276-
276+
277277
steps:
278278
- name: Checkout
279279
if: ${{ !inputs.skipable }}
@@ -392,7 +392,7 @@ jobs:
392392
with:
393393
save-cache: ${{ github.ref_name == 'main' }} # This should be safe because we have nightly building the cache every day
394394
shared-key: build-bench-${{ inputs.target }}-${{ inputs.profile }}
395-
395+
396396
- name: Install cargo-codspeed binary
397397
uses: taiki-e/install-action@3fc1605ecf43c14c7dd5ac06a4a629031ed3bdbd # v2
398398
with:
@@ -407,10 +407,10 @@ jobs:
407407
uses: lewagon/wait-on-check-action@ccfb013c15c8afb7bf2b7c028fb74dc5a068cccc # v1.3.4
408408
with:
409409
ref: ${{ github.event.pull_request.head.sha || github.sha }}
410-
check-name: 'Test Linux / Build'
410+
check-name: "Test Linux / Build"
411411
repo-token: ${{ secrets.GITHUB_TOKEN }}
412412
wait-interval: 10
413-
413+
414414
- name: Download bindings
415415
uses: ./.github/actions/download-artifact
416416
with:

0 commit comments

Comments
 (0)