Skip to content

Commit b14b715

Browse files
LeeEircxuwei-fit2cloud
authored andcommitted
perf: update action build
1 parent 93f777e commit b14b715

File tree

2 files changed

+24
-62
lines changed

2 files changed

+24
-62
lines changed

.github/workflows/build_and_push.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,18 @@ jobs:
4242
uses: actions/checkout@v4
4343
with:
4444
ref: ${{ github.ref_name }}
45+
- name: Free Up GitHub Actions Ubuntu Runner Disk Space
46+
uses: jlumbroso/free-disk-space@main
47+
with:
48+
# This might remove tools that are actually needed, if set to "true" but frees about 6 GB
49+
tool-cache: false
50+
51+
# All of these default to true, but feel free to set to "false" if necessary for your workflow
52+
android: true
53+
dotnet: true
54+
haskell: true
55+
large-packages: false
56+
swap-storage: true
4557
- name: Prepare
4658
id: prepare
4759
run: |
@@ -77,6 +89,18 @@ jobs:
7789
uses: actions/checkout@v4
7890
with:
7991
ref: ${{ github.ref_name }}
92+
- name: Free Up GitHub Actions Ubuntu Runner Disk Space
93+
uses: jlumbroso/free-disk-space@main
94+
with:
95+
# This might remove tools that are actually needed, if set to "true" but frees about 6 GB
96+
tool-cache: false
97+
98+
# All of these default to true, but feel free to set to "false" if necessary for your workflow
99+
android: true
100+
dotnet: true
101+
haskell: true
102+
large-packages: false
103+
swap-storage: true
80104
- name: Prepare
81105
id: prepare
82106
run: |

.github/workflows/build_test.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)