mirror of
https://github.com/tailscale/tailscale.git
synced 2026-05-05 12:16:44 +02:00
.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:
parent
28f163542c
commit
ad00072da8
2
.github/actions/go-cache/action.sh
vendored
2
.github/actions/go-cache/action.sh
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user