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:
parent
23f105442e
commit
7a7a473c82
10 changed files with 154 additions and 10 deletions
14
.github/workflows/recordScreenshots.yml
vendored
14
.github/workflows/recordScreenshots.yml
vendored
|
|
@ -17,6 +17,20 @@ jobs:
|
|||
if: github.event_name == 'workflow_dispatch' || github.event.label.name == 'Record-Screenshots'
|
||||
|
||||
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
|
||||
|
||||
- name: Remove Record-Screenshots label
|
||||
if: github.event.label.name == 'Record-Screenshots'
|
||||
uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 # v1.3.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue