tailscale / github-action

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

run shell check #12

Closed colemickens closed 2 years ago

colemickens commented 2 years ago

On some self-hosted runners, $HOME appears to not be set, which manifests itself in weird ways, since $HOME is not quoted, tar particular fails in an odd way.

~/code/nixcfg main
❯ tar -C " " -xzf /tmp/tailscale.tgz
tar:  : Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

~/code/nixcfg main
❯ tar -C   -xzf /tmp/tailscale.tgz 
tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options
Try 'tar --help' or 'tar --usage' for more information.