Skip to content

Commit c310133

Browse files
authored
Merge pull request qiangxue#18 from jxlwqq/patch-1
Deprecating set-env and add-path commands. close qiangxue#17
2 parents 0abbf92 + 31345b2 commit c310133

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727

2828
- name: Set up path
2929
run: |
30-
echo "::set-env name=GOPATH::$(go env GOPATH)"
31-
echo "::add-path::$(go env GOPATH)/bin"
30+
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
31+
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
3232
shell: bash
3333

3434
- name: Check out code into the Go module directory

0 commit comments

Comments
 (0)