-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1.01 KB
/
testing.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Free Disk Space (Ubuntu)
on:
workflow_run:
workflows: [ShellCheck]
types: [completed]
branches:
- main
- feat/*
- fix/*
jobs:
free_disk_space:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
one_command: [true, false]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Free Disk Space
uses: .
with:
remove_android: true
remove_dotnet: true
remove_haskell: true
remove_tool_cache: true
remove_swap: true
remove_packages: "azure-cli google-cloud-cli microsoft-edge-stable google-chrome-stable firefox postgresql* temurin-* *llvm* mysql*"
remove_packages_one_command: ${{ matrix.one_command }}
testing: false
- name: Show all packages by size
run: |
dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n
- name: Show free disk space
run: df -h