|
@@ -35,62 +35,62 @@ jobs:
|
|
|
run: |
|
|
|
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/ main.go
|
|
|
- env GOOS=linux GOARCH=arm GOARM=6 go build -o build/netclient-arm6/ main.go
|
|
|
- env GOOS=linux GOARCH=arm GOARM=7 go build -o build/netclient-arm7/ main.go
|
|
|
- env GOOS=linux GOARCH=arm64 go build -o build/netclient-arm64 main.go
|
|
|
+ env GOOS=linux GOARCH=arm GOARM=5 go build -o build/netclient-arm5/netclient main.go
|
|
|
+ env GOOS=linux GOARCH=arm GOARM=6 go build -o build/netclient-arm6/netclient main.go
|
|
|
+ env GOOS=linux GOARCH=arm GOARM=7 go build -o build/netclient-arm7/netclient main.go
|
|
|
+ env GOOS=linux GOARCH=arm64 go build -o build/netclient-arm64/netclient main.go
|
|
|
|
|
|
- - name: Upload arm5 to Release
|
|
|
+ - name: Upload x86 to Release
|
|
|
if: github.event.inputs.version == ''
|
|
|
uses: svenstaro/upload-release-action@v2
|
|
|
with:
|
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- file: netclient/build/netclient-arm5
|
|
|
+ file: build/netclient
|
|
|
tag: ${{ env.NETMAKER_VERSION }}
|
|
|
overwrite: true
|
|
|
prerelease: true
|
|
|
- asset_name: netclient-arm5
|
|
|
+ asset_name: netclient
|
|
|
|
|
|
- - name: Upload arm6 to Release
|
|
|
+ - name: Upload arm5 to Release
|
|
|
if: github.event.inputs.version == ''
|
|
|
uses: svenstaro/upload-release-action@v2
|
|
|
with:
|
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- file: netclient/build/netclient-arm6
|
|
|
+ file: netclient/build/netclient-arm5/netclient
|
|
|
tag: ${{ env.NETMAKER_VERSION }}
|
|
|
overwrite: true
|
|
|
prerelease: true
|
|
|
- asset_name: netclient-arm6
|
|
|
+ asset_name: netclient-arm5
|
|
|
|
|
|
- - name: Upload arm7 to Release
|
|
|
+ - name: Upload arm6 to Release
|
|
|
if: github.event.inputs.version == ''
|
|
|
uses: svenstaro/upload-release-action@v2
|
|
|
with:
|
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- file: netclient/build/netclient-arm7
|
|
|
+ file: netclient/build/netclient-arm6/netclient
|
|
|
tag: ${{ env.NETMAKER_VERSION }}
|
|
|
overwrite: true
|
|
|
prerelease: true
|
|
|
- asset_name: netclient-arm7
|
|
|
+ asset_name: netclient-arm6
|
|
|
|
|
|
- - name: Upload arm64 to Release
|
|
|
+ - name: Upload arm7 to Release
|
|
|
if: github.event.inputs.version == ''
|
|
|
uses: svenstaro/upload-release-action@v2
|
|
|
with:
|
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- file: build/netclient-arm64
|
|
|
+ file: netclient/build/netclient-arm7/netclient
|
|
|
tag: ${{ env.NETMAKER_VERSION }}
|
|
|
overwrite: true
|
|
|
prerelease: true
|
|
|
- asset_name: netclient-arm64
|
|
|
+ asset_name: netclient-arm7
|
|
|
|
|
|
- - name: Upload x86 to Release
|
|
|
+ - name: Upload arm64 to Release
|
|
|
if: github.event.inputs.version == ''
|
|
|
uses: svenstaro/upload-release-action@v2
|
|
|
with:
|
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
- file: build/netclient
|
|
|
+ file: build/netclient-arm64/netclient
|
|
|
tag: ${{ env.NETMAKER_VERSION }}
|
|
|
overwrite: true
|
|
|
prerelease: true
|
|
|
- asset_name: netclient
|
|
|
+ asset_name: netclient-arm64
|