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 d49311f
Showing 1 changed file with 20 additions and 0 deletions.
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

0 comments on commit d49311f

Please sign in to comment.