From aa97043e1fb6ea1d76ed359827623b9f1962973b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Miri=C4=87?= Date: Thu, 8 Oct 2020 16:58:21 +0200 Subject: [PATCH] Export GOPATH during build Co-authored-by: na-- --- .github/workflows/all.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/all.yml b/.github/workflows/all.yml index bd7addf5eae..e32340eb164 100644 --- a/.github/workflows/all.yml +++ b/.github/workflows/all.yml @@ -160,14 +160,14 @@ jobs: env: GO111MODULE: 'off' run: | - gopath="$(go env GOPATH)" + export GOPATH="$(go env GOPATH)" go get github.com/Masterminds/glide go get -d github.com/mh-cbon/go-bin-deb \ - && (cd "$gopath/src/github.com/mh-cbon/go-bin-deb" \ + && (cd "$GOPATH/src/github.com/mh-cbon/go-bin-deb" \ && glide install \ && go install) go get -d github.com/mh-cbon/go-bin-rpm \ - && (cd "$gopath/src/github.com/mh-cbon/go-bin-rpm" \ + && (cd "$GOPATH/src/github.com/mh-cbon/go-bin-rpm" \ && glide install \ && go install) sudo apt-get update -y