Skip to content

Commit eec2197

Browse files
committed
removing 3rd party action for cleanup
1 parent e23cc93 commit eec2197

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/bitcoin-tests.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,18 @@ jobs:
2828
id: git_checkout
2929
uses: actions/checkout@v3
3030

31-
# Could run a `docker system prune --force`` here to clean up a little extra space, ~4-5GB
31+
- name: Reclaim disk space
32+
id: cleanup
33+
run: |
34+
sudo apt-get remove -y '^dotnet-.*'
35+
sudo apt-get remove -y '^llvm-.*'
36+
sudo apt-get remove -y 'php.*'
37+
sudo apt-get remove -y '^mongodb-.*'
38+
sudo apt-get remove -y '^mysql-.*'
39+
sudo apt-get remove -y azure-cli google-cloud-sdk google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri
40+
sudo apt-get autoremove -y
41+
sudo apt-get clean
42+
docker system prune --force
3243
3344
- name: Build bitcoin integration testing image
3445
id: build_docker_image
@@ -39,12 +50,6 @@ jobs:
3950
rm .dockerignore
4051
docker build -f ./.github/actions/bitcoin-int-tests/Dockerfile.generic.bitcoin-tests -t stacks-blockchain:integrations .
4152
42-
- name: Free Disk Space (Ubuntu)
43-
uses: jlumbroso/free-disk-space@main
44-
with:
45-
tool-cache: true
46-
docker-images: false
47-
4853
- name: Export docker image as tarball
4954
id: export_docker_image
5055
run: docker save stacks-blockchain:integrations | gzip > integration-image.tar.gz

0 commit comments

Comments
 (0)