Skip to content

Commit

Permalink
Remove unneeded files on host to free up disk
Browse files Browse the repository at this point in the history
Use the trick from build.yaml
  • Loading branch information
tienntr committed Dec 15, 2023
1 parent 501e6fb commit 36ceab6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-centos7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,16 @@ jobs:
runs-on: ubuntu-22.04
container:
image: centos:7
volumes:
- /usr/share/dotnet:/host/usr/share/dotnet
- /usr/local/lib/android:/host/usr/local/lib/android

steps:
- name: Remove unneeded frameworks to recover disk space
run: |
rm -rf /host/usr/share/dotnet
rm -rf /host/usr/local/lib/android
- name: Update and install build tools
# Add python-devel to support python in gdb.
# actions/checkout@v3 requires git >= 2.18
Expand Down

0 comments on commit 36ceab6

Please sign in to comment.