mirror of https://github.com/statping/statping
github action building
parent
b9cff8cb23
commit
8c9b604df4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue