mirror of
https://github.com/input-output-hk/devx.git
synced 2024-09-19 16:17:17 +03:00
Fix No space left on device
while building devx-container
in GitHub Action (#141)
This commit is contained in:
parent
1a244f104e
commit
36d5241fea
7
.github/workflows/wait-and-upload.yml
vendored
7
.github/workflows/wait-and-upload.yml
vendored
@ -119,6 +119,11 @@ jobs:
|
|||||||
# and the GHC version (currently `ghc810` and `ghc96`).
|
# 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 }}
|
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:
|
steps:
|
||||||
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
uses: jlumbroso/free-disk-space@main
|
||||||
|
with:
|
||||||
|
docker-images: false
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
@ -172,4 +177,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run test command inside the Dev Container
|
- 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 }} \
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user