Skip to content

Commit 26434e1

Browse files
jakebaileyCopilot
andauthored
Clean up disk space in CI before running (#2103)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 08bc24d commit 26434e1

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ jobs:
9999
TSGO_HEREBY_COVERAGE: ${{ (matrix.config.coverage && 'true') || 'false' }}
100100

101101
steps:
102+
- uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
103+
with:
104+
large-packages: false
105+
docker-images: false
106+
swap-storage: false
107+
dotnet: false
108+
102109
- run: git config --system core.longpaths true
103110
if: ${{ matrix.config.os == 'windows-latest' }}
104111

.github/workflows/copilot-setup-steps.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ jobs:
1919
# You can define any steps you want, and they will run before the agent starts.
2020
# If you do not check out your code, Copilot will do this for you.
2121
steps:
22+
- uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
23+
with:
24+
large-packages: false
25+
docker-images: false
26+
swap-storage: false
27+
dotnet: false
2228
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2329
with:
2430
submodules: true

.github/workflows/create-cache.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ jobs:
3333
runs-on: ${{ matrix.os }}
3434

3535
steps:
36+
- uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
37+
with:
38+
large-packages: false
39+
docker-images: false
40+
swap-storage: false
41+
dotnet: false
42+
3643
- run: git config --system core.longpaths true
3744
if: ${{ matrix.os == 'windows-latest' }}
3845

0 commit comments

Comments
 (0)