github-action/dist
TowyTowy 0e42fa1ff3 fix: reuse stale tailscale.tgz on self-hosted runners
On persistent self-hosted runners the XDG cache directory survives between
jobs. When GitHub's Actions cache backend doesn't return a hit (no working
backend, evicted entry, etc.), the tailscale.tgz left behind by a previous
job is still on disk, and tc.downloadTool() refuses to overwrite an existing
destination, failing with "Destination file path ... already exists".

Mirror the Windows MSI fix (#259): if the tarball already exists, reuse it
when its checksum matches, otherwise delete and re-download. Only the
cloud-cache-restore path previously avoided this collision, so the Linux
download was unconditional.

Fixes #294

Signed-off-by: TowyTowy <towy@airreps.link>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 14:36:37 -06:00
..
logout extract logging function into its own class 2026-07-02 18:47:15 -07:00
index.js fix: reuse stale tailscale.tgz on self-hosted runners 2026-07-09 14:36:37 -06:00