File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 6262 - uses : actions/upload-artifact@v2
6363 with :
6464 name : windows-build
65- path : build/tinc-desktop-win64.tar.gz
65+ path : build/tinc-desktop-win64.zip
6666
6767 release :
6868 name : Release artifacts
9191 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9292 with :
9393 upload_url : ${{ steps.create_release.outputs.upload_url }}
94- asset_path : ./tinc-desktop-linux64.tar.gz
94+ asset_path : ./linux-build
9595 asset_name : tinc-desktop-linux64.tar.gz
9696 asset_content_type : application/tar+gzip
9797
@@ -102,7 +102,7 @@ jobs:
102102 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
103103 with :
104104 upload_url : ${{ steps.create_release.outputs.upload_url }}
105- asset_path : ./tinc-desktop-darwin64.tar.gz
105+ asset_path : ./darwin-build
106106 asset_name : tinc-desktop-darwin64.tar.gz
107107 asset_content_type : application/tar+gzip
108108
@@ -113,6 +113,6 @@ jobs:
113113 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
114114 with :
115115 upload_url : ${{ steps.create_release.outputs.upload_url }}
116- asset_path : ./tinc-desktop-win64.zip
116+ asset_path : ./windows-build
117117 asset_name : tinc-desktop-win64.zip
118118 asset_content_type : application/zip
Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ linux: build
3434 go build -ldflags " -s -w" -trimpath -v -o build/linux/tinc-desktop ./cmd/tinc-desktop
3535 cd build/linux && tar -zcvf ../tinc-desktop-linux64.tar.gz .
3636
37+ darwin : build
38+ mkdir -p build/darwin
39+ go build -ldflags " -s -w" -trimpath -v -o build/darwin/tinc-desktop ./cmd/tinc-desktop
40+ cd build/darwin && tar -zcvf ../tinc-desktop-darwin64.tar.gz .
41+
3742windows : build rsrc
3843 mkdir -p build/windows
3944 rm -rf fyne-cross
@@ -43,12 +48,6 @@ windows: build rsrc
4348 cp -r assets/windows/. build/windows/
4449 cd build/windows && powershell " Compress-Archive tinc-desktop.exe ../tinc-desktop-win64.zip"
4550
46- darwin : build
47- mkdir -p build/darwin
48- go build -ldflags " -s -w" -trimpath -v -o build/darwin/tinc-desktop ./cmd/tinc-desktop
49- cd build/darwin && tar -zcvf ../tinc-desktop-darwin64.tar.gz .
50-
51-
5251install : linux windows darwin
5352
5453.PHONY : all
You can’t perform that action at this time.
0 commit comments