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

磁盘空间释放 #12

Open
datout opened this issue Feb 22, 2024 · 1 comment
Open

磁盘空间释放 #12

datout opened this issue Feb 22, 2024 · 1 comment

Comments

@datout
Copy link

datout commented Feb 22, 2024

佬,这个好像能释放出122G的空间。。。

看看能不能加上

- name: "Optimize Disk Space"
  uses: "hugoalh/[email protected]"
  with:
    operate_sudo: "True"
    general_include: ".+"
    general_exclude: |-
      ^GCC$
      ^G\+\+$
      Clang
      LLVM
    docker_include: ".+"
    docker_prune: "True"
    docker_clean: "True"
    apt_prune: "True"
    apt_clean: "True"
    homebrew_prune: "True"
    homebrew_clean: "True"
    npm_prune: "True"
    npm_clean: "True"
    os_swap: "True"

- name: Freeing up disk space
  uses: easimon/maximize-build-space@master
  with: 
    root-reserve-mb: 2048
    swap-size-mb: 1
    remove-dotnet: 'true'
    remove-android: 'true'
    remove-haskell: 'true'
    remove-codeql: 'true'
    remove-docker-images: 'true'

- name: Free up disk space complete
  run: |
    echo "Free up disk space complete"
    echo "=============================================================================="
    df -hT
    echo "=============================================================================="
@281677160
Copy link
Owner

删除太多东西了,编译固件需要的一个依赖也安装不上,没办法搞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants