-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (43 loc) · 1.09 KB
/
checkenv.yml
File metadata and controls
54 lines (43 loc) · 1.09 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
# This is a basic workflow to help you get started with Actions
name: Check environment
# Controls when the workflow will run
on:
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
steps:
- name:
whoami
run:
whoami
- name:
nproc
run:
echo $(nproc)
- name:
df
run:
df -h
- name:
sudo apt list installed
run:
sudo apt list --installed
- name:
apt delete
run:
sudo apt -y purge --auto-remove aspnetcore* docker* dotnet* firefox* golang* google* mono* mysql* nginx* php* python* ruby*
- name:
delete
run: |
sudo rm -rf /usr/local/lib/android/sdk
sudo rm -rf /usr/local/share/chromedriver-linux64
sudo rm -rf /usr/local/share/edge_driver
sudo rm -rf /usr/local/share/gecko_driver
sudo rm -rf /usr/share/java
sudo rm -rf /usr/share/miniconda
sudo rm -rf /usr/local/share/vcpkg
- name:
df
run:
df -h