|
@@ -33,6 +33,7 @@ jobs:
|
|
|
|
|
|
- name: Build
|
|
|
run: |
|
|
|
+ env GOOS=linux GOARCH=amd64 go build -o build/netmaker main.go
|
|
|
cd netclient
|
|
|
env GOOS=linux GOARCH=amd64 go build -o build/netclient main.go
|
|
|
env GOOS=linux GOARCH=arm GOARM=5 go build -o build/netclient-arm5/netclient main.go
|
|
@@ -47,6 +48,18 @@ jobs:
|
|
|
env CGO_ENABLED=0 GOOS=freebsd GOARCH=arm64 go build -o build/netclient-freebsd-arm64/netclient main.go
|
|
|
env CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o build/netclient-darwin/netclient main.go
|
|
|
|
|
|
+ - name: Upload netmaker x86 to Release
|
|
|
+ uses: svenstaro/upload-release-action@v2
|
|
|
+ with:
|
|
|
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
+ file: build/netmaker
|
|
|
+ tag: |
|
|
|
+ ${{ env.NETMAKER_VERSION }}
|
|
|
+ latest
|
|
|
+ overwrite: true
|
|
|
+ prerelease: true
|
|
|
+ asset_name: netmaker
|
|
|
+
|
|
|
- name: Upload x86 to Release
|
|
|
uses: svenstaro/upload-release-action@v2
|
|
|
with:
|