Skip to content

Commit 063bb99

Browse files
committed
chore: free disk space on runner
1 parent 7578549 commit 063bb99

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/push.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ jobs:
2323
runs-on: ubuntu-latest
2424
name: Build project
2525
steps:
26+
- name: Free disk space on runner
27+
run: |
28+
echo "Before cleanup"
29+
df -h
30+
# Remove large preinstalled components we do not need
31+
sudo rm -rf /usr/local/lib/android
32+
sudo rm -rf /usr/share/dotnet
33+
sudo rm -rf /usr/local/graalvm
34+
sudo rm -rf /usr/local/.ghcup || true
35+
echo "After cleanup"
36+
df -h
37+
2638
- name: Checkout project
2739
uses: actions/checkout@v5
2840
with:
@@ -53,6 +65,7 @@ jobs:
5365
run: |
5466
cd paper
5567
latexmk -pdf main.tex
68+
latexmk -c
5669
cd ..
5770
cp paper/main.pdf docs/paper.pdf
5871

0 commit comments

Comments
 (0)