Skip to content

Commit

Permalink
temporary prevent free up disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
DyfanJones authored Apr 6, 2024
1 parent 99451f9 commit a17acd6
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/regen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,24 @@ jobs:
python-version: 3.x

# Clean unnecessary files to save disk space
- name: clean unncessary files to save space
run: |
docker rmi `docker images -q`
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/sudo apt/sources.list.d
sudo apt -y autoremove --purge
sudo apt -y autoclean
sudo apt clean
rm --recursive --force "$AGENT_TOOLSDIRECTORY"
df -h
# - name: clean unncessary files to save space
# run: |
# docker rmi `docker images -q`
# sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/sudo apt/sources.list.d
# sudo apt -y autoremove --purge
# sudo apt -y autoclean
# sudo apt clean
# rm --recursive --force "$AGENT_TOOLSDIRECTORY"
# df -h

# Free up disk space on Ubuntu
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# This might remove tools that are actually needed, if set to "true" but frees about 6 GB
tool-cache: false
large-packages: true
swap-storage: true
# - name: Free Disk Space (Ubuntu)
# uses: jlumbroso/free-disk-space@main
# with:
# # This might remove tools that are actually needed, if set to "true" but frees about 6 GB
# tool-cache: false
# large-packages: true
# swap-storage: true


- name: Install System Dependencies
Expand Down

0 comments on commit a17acd6

Please sign in to comment.