File tree 3 files changed +40
-3
lines changed
3 files changed +40
-3
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ self-hosted-runner:
2
2
labels :
3
3
- actuated-4cpu-8gb
4
4
- actuated-4cpu-16gb
5
+ - nscloud
Original file line number Diff line number Diff line change
1
+ name : disk-clean
2
+
3
+ on :
4
+ workflow_call :
5
+
6
+ jobs :
7
+ triage :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ # FIXME: https://github.com/jlumbroso/free-disk-space/issues/17
11
+ - name : same as 'large-packages' but without 'google-cloud-sdk'
12
+ shell : bash
13
+ run : |
14
+ sudo apt-get remove -y '^dotnet-.*'
15
+ sudo apt-get remove -y '^llvm-.*'
16
+ sudo apt-get remove -y 'php.*'
17
+ sudo apt-get remove -y '^mongodb-.*'
18
+ sudo apt-get remove -y '^mysql-.*'
19
+ sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri
20
+ sudo apt-get autoremove -y
21
+ sudo apt-get clean
22
+ - name : Free Disk Space (Ubuntu)
23
+ uses : jlumbroso/free-disk-space@main
24
+ with :
25
+ # this might remove tools that are actually needed,
26
+ # if set to "true" but frees about 6 GB
27
+ tool-cache : false
28
+
29
+ # all of these default to true, but feel free to set to
30
+ # "false" if necessary for your workflow
31
+ android : true
32
+ dotnet : true
33
+ haskell : true
34
+ large-packages : false
35
+ docker-images : false
36
+ swap-storage : true
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ concurrency:
10
10
11
11
jobs :
12
12
nightly-binary :
13
- runs-on : actuated-4cpu-16gb
13
+ runs-on : nscloud
14
14
steps :
15
15
- uses : actions/checkout@v4
16
16
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
56
56
run : |
57
57
aws s3 sync dist/release s3://${{ secrets.AWS_S3_BUCKET }}/gitea/${{ steps.clean_name.outputs.branch }} --no-progress
58
58
nightly-docker-rootful :
59
- runs-on : actuated-4cpu-16gb
59
+ runs-on : ubuntu-latest
60
60
steps :
61
61
- uses : actions/checkout@v4
62
62
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
93
93
push : true
94
94
tags : gitea/gitea:${{ steps.clean_name.outputs.branch }}
95
95
nightly-docker-rootless :
96
- runs-on : actuated-4cpu-16gb
96
+ runs-on : ubuntu-latest
97
97
steps :
98
98
- uses : actions/checkout@v4
99
99
# fetch all commits instead of only the last as some branches are long lived and could have many between versions
You can’t perform that action at this time.
0 commit comments