Skip to content

Commit

Permalink
Update disk_swap_for_github_runner.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Ponchale authored Nov 14, 2023
1 parent 206e2f9 commit d67b66b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/src/disk_swap_for_github_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo

sudo swapoff /mnt/swapfile
sudo rm /mnt/swapfile
sudo fallocate -l 10G /mnt/swapfile
sudo fallocate -l 13G /mnt/swapfile
sudo chmod 600 /mnt/swapfile
sudo mkswap /mnt/swapfile
sudo swapon /mnt/swapfile
Expand Down Expand Up @@ -44,4 +44,4 @@ echo

echo After:
free -h
df -h
df -h

0 comments on commit d67b66b

Please sign in to comment.