Fix broken Test Docker Android

Summary:
Test Docker Android is failing with `No space left on device`
I've fixed it by freeing up some space on the runner.

I'm looking into potentially removing this job entirely as I believe it's not
really helpful at the moment.

Changelog:
[Internal] [Changed] - Fix broken Test Docker Android

Reviewed By: ShikaSD

Differential Revision: D35013831

fbshipit-source-id: 594e65fa05c7dfc8b5acfde88658b341d26aa586
This commit is contained in:
Nicola Corti 2022-03-21 11:42:18 -07:00 коммит произвёл Facebook GitHub Bot
Родитель c05a2c56e2
Коммит 3220029514
1 изменённых файлов: 5 добавлений и 1 удалений

6
.github/workflows/test-docker-android.yml поставляемый
Просмотреть файл

@ -5,7 +5,6 @@ on:
branches:
- main
pull_request:
types: [ synchronize ]
branches:
- main
@ -15,5 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Free up space by removing unnecessary folders
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Build Docker image with Android test app
run: npm run docker-build-android