remve set-env and add-path from CI
@@ -18,8 +18,8 @@ jobs:
- name: setup env
run: |
- echo "::set-env name=GOPATH::$(go env GOPATH)"
- echo "::add-path::$(go env GOPATH)/bin"
+ echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
+ echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
shell: bash
- uses: actions/checkout@v2
@@ -35,8 +35,8 @@ jobs:
go-version: '1.14'
- name: setup env
run: |
- echo "::set-env name=GOPATH::$(go env GOPATH)"
- echo "::add-path::$(go env GOPATH)/bin"
+ echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
+ echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
shell: bash
- uses: actions/checkout@master
- run: make preflight
@@ -67,8 +67,8 @@ jobs:
go-version: '1.14'
- name: setup env
run: |
- echo "::set-env name=GOPATH::$(go env GOPATH)"
- echo "::add-path::$(go env GOPATH)/bin"
+ echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
+ echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
shell: bash
- uses: actions/checkout@master
- run: make support-bundle
