Skip to content

Commit

Permalink
Maximize build space
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Jul 21, 2023
1 parent 6f90f8a commit 80f1ab6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,25 @@ jobs:
- 5000:5000

steps:
- name: Stop docker
run: sudo systemctl stop docker
- name: Clean docker data
run: |
sudo rm -rf /var/lib/docker
sudo mkdir /var/lib/docker
- name: Maximize build space
uses: easimon/maximize-build-space@6ae56c86ea8db291ae39f62352a412c36ab8179b
with:
swap-size-mb: 1
build-mount-path: /var/lib/docker
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-docker-images: 'false'
- name: Start docker
run: sudo systemctl start docker

- uses: actions/checkout@v3

# QEMU is used for non-x86_64 builds
Expand Down

0 comments on commit 80f1ab6

Please sign in to comment.