.github/actions/go-cache: build cigocacher using remote path, fall back to ./tool/go (#18409)

If local tailscale/tailscale checkout is not available,
pulll cigocacher remotely.
Fall back to ./tool/go if no other Go installation
is present.

Updates tailscale/corp#32493

Signed-off-by: Irbe Krumina <irbekrm@gmail.com>
This commit is contained in:
Irbe Krumina
2026-01-14 15:15:02 +00:00
committed by GitHub
parent 6a6aa805d6
commit 28f163542c
2 changed files with 19 additions and 3 deletions
+2 -1
View File
@@ -31,4 +31,5 @@ runs:
HOST: ${{ inputs.cigocached-host }}
CACHE_DIR: ${{ inputs.cache-dir }}
working-directory: ${{ inputs.checkout-path }}
run: .github/actions/go-cache/action.sh
# https://github.com/orgs/community/discussions/25910
run: $GITHUB_ACTION_PATH/action.sh