|
@@ -402,6 +402,7 @@ jobs:
|
|
|
cd netclient
|
|
|
env GOOS=darwin GOARCH=amd64 go build -tags=gui -ldflags="-X 'main.version=${NETMAKER_VERSION}'" -o build/netclient-darwin/netclient .
|
|
|
env CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build -tags=gui -ldflags="-X 'main.version=${NETMAKER_VERSION}'" -o build/netclient-darwin-arm64/netclient main.go
|
|
|
+ env GOOS=darwin GOARCH=amd64 go build -ldflags="-X 'main.version=${NETMAKER_VERSION}'" -o build/netclient-darwin/netclient-darwin-nogui .
|
|
|
- name: Upload darwin-amd64 to Release
|
|
|
uses: svenstaro/upload-release-action@v2
|
|
|
with:
|
|
@@ -421,7 +422,17 @@ jobs:
|
|
|
overwrite: true
|
|
|
prerelease: true
|
|
|
asset_name: netclient-darwin-arm64
|
|
|
-
|
|
|
+
|
|
|
+ - name: Upload darwin-nogui to Release
|
|
|
+ uses: svenstaro/upload-release-action@v2
|
|
|
+ with:
|
|
|
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
+ file: netclient/build/netclient-darwin-nogui/netclient
|
|
|
+ tag: ${{ env.NETMAKER_VERSION }}
|
|
|
+ overwrite: true
|
|
|
+ prerelease: true
|
|
|
+ asset_name: netclient-darwin-nogui
|
|
|
+
|
|
|
netclient-windows:
|
|
|
runs-on: windows-latest
|
|
|
needs: version
|