fix github env (#329)
This commit is contained in:
parent
2565e0553d
commit
c51d02f80e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -23,8 +23,8 @@ jobs:
|
|||
${{ runner.os }}-go-
|
||||
- name: setup env
|
||||
run: |
|
||||
echo "::set-env name=GOPATH::$(go env GOPATH)"
|
||||
echo "::add-path::$(go env GOPATH)/bin"
|
||||
echo "name=GOPATH::$(go env GOPATH)" >> $GITHUB_ENV
|
||||
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||
shell: bash
|
||||
- name: check out code
|
||||
uses: actions/checkout@v2
|
||||
|
|
Loading…
Reference in a new issue