Free Up GitHub Actions Ubuntu Runner Disk Space

This commit is contained in:
OmarHatem 2023-07-21 14:23:44 +03:00
parent 25228a3163
commit 5965f20c94
2 changed files with 9 additions and 2 deletions

View file

@ -123,6 +123,13 @@ jobs:
- name: Rename app - name: Rename app
run: echo -e "id=com.cakewallet.test\nname=$GITHUB_HEAD_REF" > /opt/android/cake_wallet/android/app.properties run: echo -e "id=com.cakewallet.test\nname=$GITHUB_HEAD_REF" > /opt/android/cake_wallet/android/app.properties
- name: Free Up GitHub Actions Ubuntu Runner Disk Space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Build - name: Build
run: | run: |
cd /opt/android/cake_wallet cd /opt/android/cake_wallet

View file

@ -132,9 +132,9 @@ class ExceptionHandler {
static const List<String> _ignoredErrors = const [ static const List<String> _ignoredErrors = const [
"Bad file descriptor", "Bad file descriptor",
"No space left on device", "No space left on device",
"Write failed (OS Error: Broken pipe", "OS Error: Broken pipe",
"Can't assign requested address", "Can't assign requested address",
"Read failed (OS Error: Socket is not connected", "OS Error: Socket is not connected",
"Operation timed out", "Operation timed out",
"No route to host", "No route to host",
"Software caused connection abort", "Software caused connection abort",