action-clean icon indicating copy to clipboard operation
action-clean copied to clipboard

Support for mac os

Open imurashka opened this issue 4 years ago • 2 comments

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?

imurashka avatar Dec 14 '20 14:12 imurashka

Seconded!

clicky avatar Jun 16 '21 23:06 clicky

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 *

gregorskii avatar Jul 06 '23 18:07 gregorskii