mirror of
https://github.com/gravitl/netmaker.git
synced 2025-11-10 08:41:20 +08:00
Update buildandrelease.yml
fixed paths for uploading files
This commit is contained in:
parent
2730ba69d7
commit
0007d06309
1 changed files with 4 additions and 4 deletions
8
.github/workflows/buildandrelease.yml
vendored
8
.github/workflows/buildandrelease.yml
vendored
|
|
@ -34,11 +34,11 @@ jobs:
|
|||
- name: Build
|
||||
run: |
|
||||
cd netclient
|
||||
env GOOS=linux GOARCH=amd64 go build -o build/netclient main.go
|
||||
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=arm64 go build -o build/netclient-arm64/ main.go
|
||||
|
||||
- name: Upload arm5 to Release
|
||||
if: github.event.inputs.version == ''
|
||||
|
|
@ -78,7 +78,7 @@ jobs:
|
|||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: build/netclient-arm64
|
||||
file: netclient/build/netclient-arm64
|
||||
tag: ${{ env.NETMAKER_VERSION }}
|
||||
overwrite: true
|
||||
prerelease: true
|
||||
|
|
@ -89,7 +89,7 @@ jobs:
|
|||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: build/netclient
|
||||
file: netclient/build/netclient
|
||||
tag: ${{ env.NETMAKER_VERSION }}
|
||||
overwrite: true
|
||||
prerelease: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue