From 3ffb1f1ce9e86c5893bc47b9b7b48fba8ca15b2b Mon Sep 17 00:00:00 2001 From: Denton Gentry Date: Wed, 4 Oct 2023 18:25:35 -0700 Subject: [PATCH] action.yml: output expected and actual checksum Updates https://github.com/tailscale/github-action/issues/89 Signed-off-by: Denton Gentry --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index 4206356..e6d81c4 100644 --- a/action.yml +++ b/action.yml @@ -83,6 +83,8 @@ runs: SHA256SUM="$(curl -H user-agent:tailscale-github-action -L "${URL}.sha256")" fi curl -H user-agent:tailscale-github-action -L "$URL" -o tailscale.tgz --max-time 300 + echo "Expected sha256: $SHA256SUM" + echo "Actual sha256: $(sha256sum tailscale.tgz)" echo "$SHA256SUM tailscale.tgz" | sha256sum -c tar -C /tmp -xzf tailscale.tgz rm tailscale.tgz