Skip to content

Commit fe0431d

Browse files
committed
fix: run free space reports with sudo as well
1 parent 557cb00 commit fe0431d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

action.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ runs:
6565
shell: bash
6666
run: |
6767
echo "Memory and swap:"
68-
free
68+
sudo free
6969
echo
70-
swapon --show
70+
sudo swapon --show
7171
echo
7272
7373
echo "Available storage:"
74-
df -h
74+
sudo df -h
7575
echo
7676
7777
- name: Maximize build disk space
@@ -189,10 +189,10 @@ runs:
189189
shell: bash
190190
run: |
191191
echo "Memory and swap:"
192-
free
192+
sudo free
193193
echo
194-
swapon --show
194+
sudo swapon --show
195195
echo
196196
197197
echo "Available storage:"
198-
df -h
198+
sudo df -h

0 commit comments

Comments
 (0)