about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-19 16:36:42 +0000
committerbors <bors@rust-lang.org>2023-10-19 16:36:42 +0000
commit0cae1ca656f181ce78af7a25007f96b3ef5c166f (patch)
treecf955aec32563944f9c1687d2ba87c2206b3fe25
parent4586a6b26cd5a975a1826c0cfd9004a9bce3d7fd (diff)
parent94eb142e6d34192ab918d20f20905653cf86ebdf (diff)
downloadrust-0cae1ca656f181ce78af7a25007f96b3ef5c166f.tar.gz
rust-0cae1ca656f181ce78af7a25007f96b3ef5c166f.zip
Auto merge of #15783 - lnicola:autopublish-space, r=lnicola
internal: Free up some disk space on auto-publish

`@bors` r+
-rw-r--r--.github/workflows/autopublish.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/autopublish.yaml b/.github/workflows/autopublish.yaml
index 310a8a5be7a..9a5015005b3 100644
--- a/.github/workflows/autopublish.yaml
+++ b/.github/workflows/autopublish.yaml
@@ -19,6 +19,10 @@ jobs:
         with:
           fetch-depth: 0
 
+      # https://github.com/jlumbroso/free-disk-space/blob/main/action.yml
+      - name: Free up some disk space
+        run: sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc /usr/local/.ghcup
+
       - name: Install Rust toolchain
         run: rustup update --no-self-update stable