From 64d049f8a632ef12c052072a024765ced5a2e9bd Mon Sep 17 00:00:00 2001 From: loyalsoldier Date: Wed, 11 Dec 2019 02:37:52 +0800 Subject: [PATCH] add GOPATH env --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa2a397501..b30c120c77 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,8 +33,8 @@ jobs: echo ${GITHUB_WORKSPACE} echo ${GOPATH} echo ${GOROOT} - # env: - # GOPATH: /home/runner/work/go + env: + GOPATH: ${GITHUB_WORKSPACE} - name: Check out code into the Go module directory uses: actions/checkout@v1