build: cache build artifacts for Go
This commit is contained in:
parent
0cead13226
commit
275b596046
1 changed files with 4 additions and 1 deletions
|
@ -44,7 +44,10 @@ for package in "${PACKAGES[@]}"; do
|
|||
|
||||
# go - modules
|
||||
if grep -q "depends = go" <<<"$makepkg_output"; then
|
||||
EXTRA_ARGS+=(--bind-rw /var/cache/golang/pkg:/build/go/pkg)
|
||||
EXTRA_ARGS+=(
|
||||
--bind-rw /var/cache/golang/pkg:/build/go/pkg
|
||||
--bind-rw /var/cache/golang/build:/build/.cache/go-build
|
||||
)
|
||||
fi
|
||||
|
||||
# dart - packages
|
||||
|
|
Loading…
Reference in a new issue