Skip to content

Commit 7ec021a

Browse files
committed
disk cleanup YAML steps
1 parent 97e3f8a commit 7ec021a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/main.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
paths-ignore:
88
- 'README.md'
99

10+
permissions:
11+
id-token: write
12+
contents: read
13+
1014
jobs:
1115
integration:
1216
name: Continuous Integration
@@ -64,6 +68,16 @@ jobs:
6468
steps:
6569
- name: Checkout
6670
uses: actions/checkout@v3
71+
72+
- name: Free up disk space
73+
run: |
74+
echo "Disk space before cleanup:"
75+
df -h
76+
sudo rm -rf /usr/share/dotnet
77+
sudo rm -rf /usr/local/lib/android
78+
sudo rm -rf /opt/ghc
79+
echo "Disk space after cleanup:"
80+
df -h
6781
6882
- name: Configure AWS credentials
6983
uses: aws-actions/configure-aws-credentials@v1

0 commit comments

Comments
 (0)