github action building

pull/576/head
hunterlong 2020-05-05 20:49:49 -07:00
parent b9cff8cb23
commit 8c9b604df4
1 changed files with 2 additions and 3 deletions

View File

@ -89,7 +89,6 @@ jobs:
- name: Setting ENV's
run: |
echo "::set-env name=GOPATH::${{ github.workspace }}/go"
echo "::add-path::$(go env GOPATH)/bin"
echo "::add-path::/opt/hostedtoolcache/node/10.20.1/x64/bin"
echo ::set-env name=VERSION::$(cat version.txt)
@ -105,10 +104,11 @@ jobs:
env:
VERSION: ${{ env.VERSION }}
run: |
echo $(go env GOPATH)
cd ./go/src/github.com/${{ github.repository }}
make build
chmod +x statping
mv statping ${{ github.workspace }}/go/bin/
mv statping $(go env GOPATH)/bin/
- name: Go Tests
run: |
@ -163,7 +163,6 @@ jobs:
- name: Setting ENV's
run: |
echo "::set-env name=GOPATH::${{ github.workspace }}/go"
echo "::add-path::$(go env GOPATH)/bin"
echo "::add-path::/opt/hostedtoolcache/node/10.20.1/x64/bin"
echo ::set-env name=VERSION::$(cat version.txt)