Skip to content

Commit

Permalink
Squashed 'release-tools/' changes from 98f23071..406a79ac
Browse files Browse the repository at this point in the history
406a79ac Merge pull request kubernetes-csi#267 from huww98/gomodcache
9cec273d Set GOMODCACHE to avoid re-download toolchain

git-subtree-dir: release-tools
git-subtree-split: 406a79acf021b5564108afebeea7d0ed44648d3f
  • Loading branch information
avorima committed Dec 11, 2024
1 parent feb5e29 commit 05418e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,8 @@ run_with_go () {
else
version=local
fi
GOTOOLCHAIN=$version run "$@"
# Set GOMODCACHE to make sure Kubernetes does not need to download again.
GOTOOLCHAIN=$version GOMODCACHE="$(go env GOMODCACHE)" run "$@"
}

# Ensure that we have the desired version of kind.
Expand Down

0 comments on commit 05418e5

Please sign in to comment.