Skip to content

Commit d2780c8

Browse files
authored
Update information in README and add working clean steps in test
1 parent 7815a2b commit d2780c8

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

.github/workflows/crc-action.yml

+13-10
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,19 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- name: Maximize build space
17-
uses: easimon/maximize-build-space@master
18-
with:
19-
root-reserve-mb: 512
20-
swap-size-mb: 1024
21-
remove-dotnet: 'true'
22-
remove-android: 'true'
23-
remove-haskell: 'true'
24-
remove-codeql: 'true'
25-
remove-docker-images: 'true'
16+
- name: Remove unwanted stuff to free up disk image
17+
shell: bash
18+
run: |
19+
sudo rm -rf /usr/share/dotnet
20+
sudo rm -rf /usr/local/lib/android
21+
sudo rm -rf /opt/ghc
22+
sudo rm -rf "/usr/local/share/boost"
23+
sudo rm -rf /opt/hostedtoolcache/CodeQL
24+
25+
sudo docker image prune --all --force
26+
27+
sudo swapoff -a
28+
sudo rm -f /mnt/swapfile
2629

2730
- name: Check out code
2831
uses: actions/checkout@v4

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ This action facilitates the setup, start, and management of CRC instances direct
55
Actions pipelines, enabling seamless testing and development of your workload on OpenShift/MicroShift.
66

77
> [!NOTE]
8-
> You are advised to maximize available diskspace using an action like: https://github.com/marketplace/actions/maximize-build-disk-space
8+
> You are advised to maximize available diskspace using a third-party action.
9+
910

1011
## Features
1112

0 commit comments

Comments
 (0)