tailscale / github-action

A GitHub Action to connect your workflow to your Tailscale network.
BSD 3-Clause "New" or "Revised" License
532 stars 80 forks source link

Cannot use action on macOS runner #56

Open rafael-fecha opened 1 year ago

rafael-fecha commented 1 year ago

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 commented 1 year ago

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

DentonGentry commented 1 year ago

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.