From 739321c1b2cc152f5f0bcf70f14603026f3cf3b5 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 4 Sep 2024 14:04:08 -0500 Subject: [PATCH] try this syntax --- .github/actions/clean-disk/action.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/actions/clean-disk/action.yml b/.github/actions/clean-disk/action.yml index 9973109..2790311 100644 --- a/.github/actions/clean-disk/action.yml +++ b/.github/actions/clean-disk/action.yml @@ -41,12 +41,14 @@ runs: $(non_manifest_packages) # > /dev/null fi - GLOBIGNORE="/usr/share/git-core/**/*" - sudo rm -rf \ - /var/lib/docker/ \ - "$AGENT_TOOLSDIRECTORY" \ - /opt \ - /usr/{local,share}/** & + ( + GLOBIGNORE="/usr/share/git-core/**/*"; + sudo rm -rf \ + /var/lib/docker/ \ + "$AGENT_TOOLSDIRECTORY" \ + /opt \ + /usr/{local,share}/** + ) & # { # sudo swapoff -a # sudo rm -f /mnt/swapfile