Skip to content

Commit

Permalink
Fix No space left on device while building devx-container in GitH…
Browse files Browse the repository at this point in the history
…ub Action (#141)
  • Loading branch information
yvan-sraka authored Apr 9, 2024
1 parent 1a244f1 commit 36d5241
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/wait-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ jobs:
# and the GHC version (currently `ghc810` and `ghc96`).
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 }}
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
docker-images: false

- name: Checkout repository
uses: actions/checkout@v3

Expand Down Expand Up @@ -172,4 +177,4 @@ jobs:

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

0 comments on commit 36d5241

Please sign in to comment.