Skip to content

Commit 0c2cce5

Browse files
committed
Fix No space left on device while building devx-container in GitHub Action
1 parent 3e76261 commit 0c2cce5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/wait-and-upload.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ jobs:
119119
# and the GHC version (currently `ghc810` and `ghc96`).
120120
if: ${{ contains(fromJSON('["x86_64-linux", "aarch64-linux"]'), inputs.platform) && contains(fromJson('["","-windows","-js"]'), inputs.target-platform) && contains(fromJson('["ghc810","ghc96"]'), inputs.compiler-nix-name) && !inputs.minimal }}
121121
steps:
122+
- name: Free Disk Space (Ubuntu)
123+
uses: jlumbroso/free-disk-space@main
124+
with:
125+
docker-images: false
126+
122127
- name: Checkout repository
123128
uses: actions/checkout@v3
124129

@@ -172,4 +177,4 @@ jobs:
172177

173178
- name: Run test command inside the Dev Container
174179
run: docker run --rm ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.platform }}.${{ inputs.compiler-nix-name }}${{ inputs.target-platform }} \
175-
/bin/bash -c "cabal update && cabal unpack hello && cd hello-* && cabal build"
180+
/bin/bash -c "cabal update && cabal unpack hello && cd hello-* && cabal build"

0 commit comments

Comments
 (0)