Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action: Remove unused package to free up more space #18

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,26 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Free unused disk space
shell: bash
run: |
sudo apt-get remove -y '^dotnet-.*'
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y '^mysql-server-core-.*'
sudo apt-get remove -y '^postgresql-.*'
sudo apt-get remove -y azure-cli google-chrome-stable google-cloud-cli firefox powershell microsoft-edge-stable mono-devel
sudo apt-get purge docker-ce docker-ce-cli
sudo apt-get autoremove -y

sudo rm -rf /usr/share/dotnet/
sudo rm -rf /usr/share/swift
sudo rm -rf /usr/share/miniconda
sudo rm -rf /usr/local/graalvm/
sudo rm -rf /usr/local/.ghcup/
sudo rm -rf /usr/local/share/powershell
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /usr/local/lib/node_modules
sudo rm -rf /var/lib/docker
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
Expand Down
2 changes: 1 addition & 1 deletion externals/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ tasks {
} catch (e: java.io.IOException) {
println("Failed to decompress $downloadablePath/$xzFileName")
} finally {
Path("$downloadablePath/xzFileName").deleteIfExists()
Path("$downloadablePath/$xzFileName").deleteIfExists()
}
}
}
Expand Down