File tree 6 files changed +38
-0
lines changed
6 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -e
4
+
5
+ echo " Removing unused system files to gain more disk space"
6
+ rm -fr /opt/hostedtoolcache
7
+ cd /opt
8
+ find . -maxdepth 1 -mindepth 1 ' !' -path ./containerd ' !' -path ./actionarchivecache ' !' -path ./runner ' !' -path ./runner-cache -exec rm -rf ' {}' ' ;'
Original file line number Diff line number Diff line change 29
29
- uses : actions/checkout@v4
30
30
with :
31
31
fetch-depth : 0
32
+
33
+ - name : Cleanup Unused Disk Space
34
+ run : |
35
+ .github/workflows/clean-unused-disk-space.sh
36
+
32
37
- uses : actions/setup-go@v5
33
38
with :
34
39
go-version-file : " go.mod"
Original file line number Diff line number Diff line change 32
32
- uses : actions/checkout@v4
33
33
with :
34
34
fetch-depth : 0
35
+
36
+ - name : Cleanup Unused Disk Space
37
+ run : |
38
+ .github/workflows/clean-unused-disk-space.sh
39
+
35
40
- uses : actions/setup-go@v5
36
41
with :
37
42
go-version-file : " go.mod"
47
52
- uses : actions/checkout@v4
48
53
with :
49
54
fetch-depth : 0
55
+
56
+ - name : Cleanup Unused Disk Space
57
+ run : |
58
+ .github/workflows/clean-unused-disk-space.sh
59
+
50
60
- uses : actions/setup-go@v5
51
61
with :
52
62
go-version-file : " go.mod"
Original file line number Diff line number Diff line change 29
29
- uses : actions/checkout@v4
30
30
with :
31
31
fetch-depth : 0
32
+
33
+ - name : Cleanup Unused Disk Space
34
+ run : |
35
+ .github/workflows/clean-unused-disk-space.sh
36
+
32
37
- uses : actions/setup-go@v5
33
38
with :
34
39
go-version-file : " go.mod"
Original file line number Diff line number Diff line change 29
29
- uses : actions/checkout@v4
30
30
with :
31
31
fetch-depth : 0
32
+
33
+ - name : Cleanup Unused Disk Space
34
+ run : |
35
+ .github/workflows/clean-unused-disk-space.sh
36
+
32
37
- uses : actions/setup-go@v5
33
38
with :
34
39
go-version-file : " go.mod"
Original file line number Diff line number Diff line change 29
29
- uses : actions/checkout@v4
30
30
with :
31
31
fetch-depth : 0
32
+
33
+ - name : Cleanup Unused Disk Space
34
+ run : |
35
+ .github/workflows/clean-unused-disk-space.sh
36
+
32
37
- uses : actions/setup-go@v5
33
38
with :
34
39
go-version-file : " go.mod"
You can’t perform that action at this time.
0 commit comments