mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
get array from input
This commit is contained in:
parent
c2135b4648
commit
fba3295732
1 changed files with 5 additions and 1 deletions
6
.github/actions/disk_space/action.yml
vendored
6
.github/actions/disk_space/action.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue