mirror of
https://github.com/tailscale/github-action.git
synced 2026-08-29 20:39:22 +00:00
On self-hosted runners, the tool cache directory persists between runs. When GitHub's cloud cache doesn't have an entry (first run, evicted, etc.), but the local MSI file exists from a previous run, tc.downloadTool() fails with "Destination file path already exists". This fix checks if the existing MSI has a valid checksum before downloading: - If valid: reuse it (skip download) - If invalid: delete and re-download Signed-off-by: Dorin Geman <dorin.geman@docker.com> |
||
|---|---|---|
| .. | ||
| logout | ||
| index.js | ||