Skip to content

Commit 100e855

Browse files
committed
.github: fix legacy set-env problem
1 parent ee13bb1 commit 100e855

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
test:
55
strategy:
66
matrix:
7-
go-version: [1.13.x, 1.14.x]
7+
go-version: [1.13.x, 1.14.x, 1.15.x]
88
platform: [ubuntu-latest]
99
runs-on: ${{ matrix.platform }}
1010
steps:
@@ -16,8 +16,8 @@ jobs:
1616
with:
1717
path: './src/github.com/github-release/github-release'
1818
# staticcheck needs this for GOPATH
19-
- run: echo "::set-env name=GOPATH::$GITHUB_WORKSPACE"
20-
- run: echo "::set-env name=PATH::$GITHUB_WORKSPACE/bin:$PATH"
19+
- run: echo "GOPATH=$GITHUB_WORKSPACE" >> $GITHUB_ENV
20+
- run: echo "PATH=$GITHUB_WORKSPACE/bin:$PATH" >> $GITHUB_ENV
2121
- name: Run tests
2222
run: make lint test
2323
working-directory: './src/github.com/github-release/github-release'

0 commit comments

Comments
 (0)