Clear up space before running CI (#1550)
* Clear up space before running CI With all the databases and dependencies more than the 19G is needed (this is the amount which is currenlty available on runners). There is a github action which meddles with the disc layout, which is probably too much for our use case, but it gave me the idea that you can delete files which are needed to support certain platforms such as dotnet and android. https://github.com/easimon/maximize-build-space With only manually removing those files, around 30G are available which should be enough for the foreseeable future * Update main.yml --------- Co-authored-by: Tom Kralidis <tomkralidis@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b54bdd80a8
commit
6bd1bc1118
@@ -44,6 +44,14 @@ jobs:
|
||||
PYGEOAPI_CONFIG: "$(pwd)/pygeoapi-config.yml"
|
||||
|
||||
steps:
|
||||
- name: Clear up GitHub runner diskspace
|
||||
run: |
|
||||
echo "Space before"
|
||||
df -h /
|
||||
sudo rm -rf /usr/local/lib/android
|
||||
sudo rm -rf /usr/share/dotnet
|
||||
echo "Space after"
|
||||
df -h /
|
||||
- name: Chown user
|
||||
run: |
|
||||
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
|
||||
|
||||
Reference in New Issue
Block a user