Ignore swapoff error
This commit is contained in:
parent
e73e74d783
commit
3da1ddb7ce
2
.github/workflows/on-tag.yml
vendored
2
.github/workflows/on-tag.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
- name: Replace the current swap file
|
||||
shell: bash
|
||||
run: |
|
||||
sudo swapoff /mnt/swapfile
|
||||
sudo swapoff /mnt/swapfile || true
|
||||
sudo rm -v /mnt/swapfile
|
||||
sudo fallocate -l 20G /mnt/swapfile
|
||||
sudo chmod 600 /mnt/swapfile
|
||||
|
||||
Loading…
Reference in New Issue
Block a user