Open zzy19868 opened 1 year ago
最简单的你就参考L大哥怎么清理臃肿的ubuntu的,至少比你现在多出15G左右
https://github.com/VIKINGYFY/OpenWRT-CI
用我的项目即可 编译完成时的空间使用情况
https://github.com/BenjaminX/NanoPiR4SOpenWrt/blob/main/.github/workflows/build-openwrt.yml
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: true
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
swap-storage: true
https://github.com/BenjaminX/NanoPiR4SOpenWrt/blob/main/.github/workflows/build-openwrt.yml
- name: Free Disk Space (Ubuntu) uses: jlumbroso/free-disk-space@main with: # this might remove tools that are actually needed, # if set to "true" but frees about 6 GB tool-cache: true # all of these default to true, but feel free to set to # "false" if necessary for your workflow android: true dotnet: true haskell: true large-packages: true swap-storage: true
解决问题,多谢!
https://github.com/BenjaminX/NanoPiR4SOpenWrt/blob/main/.github/workflows/build-openwrt.yml
- name: Free Disk Space (Ubuntu) uses: jlumbroso/free-disk-space@main with: # this might remove tools that are actually needed, # if set to "true" but frees about 6 GB tool-cache: true # all of these default to true, but feel free to set to # "false" if necessary for your workflow android: true dotnet: true haskell: true large-packages: true swap-storage: true
我加了这个代码也失败,服了
https://github.com/BenjaminX/NanoPiR4SOpenWrt/blob/main/.github/workflows/build-openwrt.yml
- name: Free Disk Space (Ubuntu) uses: jlumbroso/free-disk-space@main with: # this might remove tools that are actually needed, # if set to "true" but frees about 6 GB tool-cache: true # all of these default to true, but feel free to set to # "false" if necessary for your workflow android: true dotnet: true haskell: true large-packages: true swap-storage: true
解决了问题,感谢🙏
[P3TERX]大神的脚本,进行到这一步,占用就高达62%了,之前只有30%左右,请问怎么解决?