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

Cannot use action on macOS runner

Open rafael-fecha opened this issue 2 years ago • 2 comments

When setting up to use this action on a macOS runner there is the following error: mv: fastcopy: open() failed (to): /usr/bin/tailscale: Operation not permitted

The issue looks like here:

sudo mv "${TSPATH}/tailscale" "${TSPATH}/tailscaled" /usr/bin

it is trying to move a file to /usr/bin which is not allowed on macOS systems recently even by sudo root users.

can you help here?

rafael-fecha avatar Feb 01 '23 15:02 rafael-fecha

update:

looks like we might also have to update this part: URL="https://pkgs.tailscale.com/stable/tailscale_${VERSION}_amd64.tgz" as this only linux static binaries

rafael-fecha avatar Feb 02 '23 09:02 rafael-fecha

We might concievably be able to hook up https://github.com/tailscale/tailscale/wiki/Tailscaled-on-macOS to work. That would take some work but I don't see anything which would prevent it functioning.

DentonGentry avatar Feb 02 '23 13:02 DentonGentry