Skip to content

Commit

Permalink
Action: Remove unused package to free up more space
Browse files Browse the repository at this point in the history
This patch removes unused package in runner to free up more space

Signed-off-by: Yelin Jeong <[email protected]>
  • Loading branch information
niley7464 committed Apr 26, 2024
1 parent 09d5585 commit 36a358e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
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

0 comments on commit 36a358e

Please sign in to comment.