fix github env (#329)

This commit is contained in:
geseq 2021-03-02 07:10:36 +01:00 committed by GitHub
parent 2565e0553d
commit c51d02f80e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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