action-clean
action-clean copied to clipboard
Support for mac os
Currently this actions doesn't work on mac os runner. It fails with next error:
Error: Container action is only supported on Linux
Is it possible to add support mac os?
Seconded!
If you look at the source this probably shouldn't be restricted to linux only, and you can mimick the functionality with:
# Clean Self Hosted Workspace
- name: Clean Workspace
run: |
set -e # fail on error
shopt -s dotglob
rm -rf *