Add free disk space action to CI actions (#6212)
* Add free disk space action * Remove 'upload APK for Maestro' step since it's no longer used * Re-enable tool-cache removal * Add the free disk space step to other gradle-related jobs * Use commit SHA * Disable removing `large-packages`
This commit is contained in:
committed by
GitHub
parent
7d412d9461
commit
3a856394f2
14
.github/workflows/sonar.yml
vendored
14
.github/workflows/sonar.yml
vendored
@@ -22,6 +22,20 @@ jobs:
|
||||
group: ${{ format('sonar-{0}', github.ref) }}
|
||||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/develop' }}
|
||||
steps:
|
||||
- name: Free Disk Space (Ubuntu)
|
||||
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
|
||||
with:
|
||||
# This might remove tools that are actually needed, if set to "true" but frees about 6 GB
|
||||
tool-cache: true
|
||||
# All of these default to true, but we should only need the 'android' one (and maybe swap-storage?)
|
||||
android: false
|
||||
dotnet: true
|
||||
haskell: true
|
||||
# This takes way too long to run (~2 minutes) and it saves only ~5.5GB
|
||||
large-packages: false
|
||||
docker-images: true
|
||||
swap-storage: false
|
||||
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
# Ensure we are building the branch and not the branch after being merged on develop
|
||||
|
||||
Reference in New Issue
Block a user