Skip to content

Commit aaea1e4

Browse files
ci: Remove tool cache to free disk space in runtime build
1 parent fd2b98b commit aaea1e4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build-runtime-image.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
OH_RUNTIME_RUNTIME_IMAGE_REPO: ghcr.io/remind101/runtime # This might not be strictly necessary as build.sh constructs the final path
4949

5050

51+
- name: Free up disk space by removing tool cache
52+
run: sudo rm -rf /opt/hostedtoolcache
53+
5154
- name: Build and Push Runtime Image
5255
run: |
5356
echo "Building runtime image with tag stable-with-patches and source tag..."

0 commit comments

Comments
 (0)