From 848bba817aa3c1dda29acbf426c827e22cc10647 Mon Sep 17 00:00:00 2001 From: Felipe Knorr Kuhn Date: Mon, 29 Dec 2025 11:31:23 -0800 Subject: [PATCH] Ignore swapoff error --- .github/workflows/on-tag.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/on-tag.yml b/.github/workflows/on-tag.yml index a211388..99b20ae 100644 --- a/.github/workflows/on-tag.yml +++ b/.github/workflows/on-tag.yml @@ -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