From fba3295732c708de6e1d05df9076e94dc4608a18 Mon Sep 17 00:00:00 2001 From: Tyler Mayoff Date: Fri, 4 Jul 2025 19:17:16 -0400 Subject: [PATCH] get array from input --- .github/actions/disk_space/action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/actions/disk_space/action.yml b/.github/actions/disk_space/action.yml index aec8721..65557fc 100644 --- a/.github/actions/disk_space/action.yml +++ b/.github/actions/disk_space/action.yml @@ -39,7 +39,11 @@ runs: - name: Clear shell: bash run: | - sudo rm -rf ${{ inputs.paths }} + SAVEIFS=$IFS + IFS=$'\n' + paths=${{ inputs.paths }} + IFS=$SAVEIFS + sudo rm -rf $paths sudo docker system prune -af || true sudo docker image prune -af || true sudo docker builder prune -af || true