.github/actions/go-cache: put cigocacher bin in /tmp always

Updates tailscale/corp#32493

Signed-off-by: Irbe Krumina <irbekrm@gmail.com>
This commit is contained in:
Irbe Krumina 2026-01-14 18:23:14 +00:00
parent 28f163542c
commit ad00072da8

View File

@ -32,7 +32,7 @@ if [ -z "${GOPATH}" ]; then
GOPATH="./tool/go"
fi
BIN_PATH="${RUNNER_TEMP:-/tmp}/cigocacher$(${GOPATH} env GOEXE)"
BIN_PATH="/tmp/cigocacher$(${GOPATH} env GOEXE)"
if [ -d "cmd/cigocacher" ]; then
echo "cmd/cigocacher found locally, building from local source"
"${GOPATH}" build -o "${BIN_PATH}" ./cmd/cigocacher