Skip to content

Commit

Permalink
Fix No space left on device error while ghcr-upload job in GitHub…
Browse files Browse the repository at this point in the history
… Action (#142)
  • Loading branch information
yvan-sraka authored Apr 9, 2024
1 parent 36d5241 commit 25aa06c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/wait-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ jobs:
contents: read
packages: write
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main

- name: Install Nix with good defaults
uses: cachix/install-nix-action@v20
with:
Expand Down Expand Up @@ -119,11 +122,6 @@ 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

0 comments on commit 25aa06c

Please sign in to comment.