cleanup disk in release ci (#2203)
* cleanup disk in release ci Signed-off-by: yxxhero <aiopsclub@163.com> * cleanup disk in release ci Signed-off-by: yxxhero <aiopsclub@163.com> * cleanup disk in release ci Signed-off-by: yxxhero <aiopsclub@163.com> * cleanup disk in release ci Signed-off-by: yxxhero <aiopsclub@163.com> --------- Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
parent
a30957409d
commit
c31ecf5061
|
|
@ -30,6 +30,17 @@ jobs:
|
||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
- name: check disk usage
|
- name: check disk usage
|
||||||
run: df -h
|
run: df -h
|
||||||
|
- name: cleanup disk
|
||||||
|
run: |
|
||||||
|
sudo rm -rf /usr/share/dotnet
|
||||||
|
sudo rm -rf /opt/ghc
|
||||||
|
sudo rm -rf /usr/local/share/boost
|
||||||
|
sudo rm -fr /usr/local/lib/android
|
||||||
|
sudo rm -fr /opt/hostedtoolcache/CodeQL
|
||||||
|
sudo docker image prune --all --force
|
||||||
|
sudo docker builder prune -a
|
||||||
|
- name: check disk usage
|
||||||
|
run: df -h
|
||||||
- uses: goreleaser/goreleaser-action@v6
|
- uses: goreleaser/goreleaser-action@v6
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue