Skip to content

Commit 72e4ae5

Browse files
authored
Clean up more of the docs cache (#9910)
No need to cache the docs run. It was creating a 2GB cache file which uses up 20% of the 10GB allotment we have. It could be reduced to 1GB, how it's not really needed as without a cache this job only takes around 20 mins and could be split up to complete even faster.
1 parent 2bd5dc1 commit 72e4ae5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build_docs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
toolchain: nightly
5454
components: rustfmt
5555
target: aarch64-linux-android
56+
cache: false
5657
- name: Install apt dependencies
5758
run: sudo apt-get install doxygen
5859
- uses: baptiste0928/cargo-install@v3
@@ -198,5 +199,5 @@ jobs:
198199
run: cargo doc --workspace --no-deps --all-features --exclude slint-node --exclude pyslint --exclude mcu-board-support --exclude mcu-embassy --exclude printerdemo_mcu --exclude carousel --exclude test-* --exclude plotter --exclude uefi-demo --exclude ffmpeg --exclude gstreamer-player --exclude slint-cpp --exclude slint-python
199200
- name: Clean cache # Don't cache docs to avoid them including removed classes being published
200201
run: |
201-
rm -rf target/doc target/cppdocs api/node/docs api/python/slint/docs
202+
rm -rf target/doc target/cppdocs target/aarch64-linux-android api/node/docs api/python/slint/docs docs/astro docs/site
202203

0 commit comments

Comments
 (0)