Skip to content

Commit

Permalink
Use maximize-build-space action
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-holenko committed Apr 5, 2024
1 parent 18976cc commit 56c9681
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,16 @@ jobs:
id-token: write

steps:
- name: Increase build space
run: |
echo "Before cleanup"
df -H
sudo rm -rf /usr/share/dotnet/*
sudo rm -rf /usr/local/lib/android/*
sudo rm -rf /opt/ghc/*
echo "After cleanup"
df -H

- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
remove-haskell: 'true'
remove-codeql: 'true'

- uses: actions/checkout@v3
- name: Download environment artifact
Expand Down

0 comments on commit 56c9681

Please sign in to comment.