fixes for windows collector build.
This commit is contained in:
@@ -20,8 +20,6 @@ jobs:
|
|||||||
name: Release Windows
|
name: Release Windows
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
env:
|
env:
|
||||||
PROJECT_PATH: /go/src/github.com/analogj/scrutiny
|
|
||||||
GOPATH: /go
|
|
||||||
GOOS: windows
|
GOOS: windows
|
||||||
GOARCH: amd64
|
GOARCH: amd64
|
||||||
steps:
|
steps:
|
||||||
@@ -35,11 +33,6 @@ jobs:
|
|||||||
go-version: '^1.13.1' # The Go version to download (if necessary) and use.
|
go-version: '^1.13.1' # The Go version to download (if necessary) and use.
|
||||||
- name: Build Binaries
|
- name: Build Binaries
|
||||||
run: |
|
run: |
|
||||||
|
|
||||||
mkdir -p $(dirname "$PROJECT_PATH")
|
|
||||||
cp -R $GITHUB_WORKSPACE $PROJECT_PATH
|
|
||||||
cd $PROJECT_PATH
|
|
||||||
|
|
||||||
mkdir -p $GITHUB_WORKSPACE/dist
|
mkdir -p $GITHUB_WORKSPACE/dist
|
||||||
|
|
||||||
echo "building collector binary (OS = ${GOOS}, ARCH = ${GOARCH})"
|
echo "building collector binary (OS = ${GOOS}, ARCH = ${GOARCH})"
|
||||||
|
|||||||
Reference in New Issue
Block a user