-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (41 loc) · 1.14 KB
/
test.yml
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Test"
on:
workflow_dispatch:
jobs:
main:
name: "${{matrix.os}} (Async: ${{matrix.operate_async}}; Sudo: ${{matrix.operate_sudo}})"
runs-on: "${{matrix.os}}"
strategy:
matrix:
operate_async:
- "False"
- "True"
operate_sudo:
- "False"
- "True"
os:
- "macos-latest"
- "ubuntu-latest"
- "windows-latest"
exclude:
- operate_sudo: "True"
os: "windows-latest"
fail-fast: false
steps:
- name: "Optimize Disk Space"
uses: "hugoalh/disk-space-optimizer-ghaction@main"
with:
operate_async: "${{matrix.operate_async}}"
operate_sudo: "${{matrix.operate_sudo}}"
general_include: ".+"
docker_include: ".+"
docker_prune: "True"
docker_clean: "True"
apt_prune: "True"
apt_clean: "True"
homebrew_prune: "True"
homebrew_clean: "True"
npm_prune: "True"
npm_clean: "True"
os_swap: "True"