@@ -29,21 +29,21 @@ jobs:
29
29
- name : Build project
30
30
run : |
31
31
if [[ ${{ matrix.os }} == 'ubuntu-latest' ]]; then
32
- GOOS=linux GOARCH=amd64 go build -o myproject -linux ./...
32
+ GOOS=linux GOARCH=amd64 go build -o iffmaster -linux ./cmd/iffmaster
33
33
elif [[ ${{ matrix.os }} == 'windows-latest' ]]; then
34
- GOOS=windows GOARCH=amd64 go build -o myproject -windows.exe ./...
34
+ GOOS=windows GOARCH=amd64 go build -o iffmaster -windows.exe ./cmd/iffmaster
35
35
elif [[ ${{ matrix.os }} == 'macos-latest' ]]; then
36
- GOOS=darwin GOARCH=amd64 go build -o myproject -macos ./...
36
+ GOOS=darwin GOARCH=amd64 go build -o iffmaster -macos ./cmd/iffmaster
37
37
fi
38
38
39
39
- name : Upload artifact
40
40
uses : actions/upload-artifact@v3
41
41
with :
42
- name : myproject -${{ matrix.os }}
42
+ name : iffmaster -${{ matrix.os }}
43
43
path : |
44
- myproject -linux
45
- myproject -windows.exe
46
- myproject -macos
44
+ iffmaster -linux
45
+ iffmaster -windows.exe
46
+ iffmaster -macos
47
47
48
48
release :
49
49
needs : build
52
52
- name : Download artifacts
53
53
uses : actions/download-artifact@v4
54
54
with :
55
- name : myproject -${{ matrix.os }}
55
+ name : iffmaster -${{ matrix.os }}
56
56
path : .
57
57
58
58
- name : Create GitHub Release
73
73
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
74
74
with :
75
75
upload_url : ${{ steps.create_release.outputs.upload_url }}
76
- asset_path : myproject -linux
77
- asset_name : myproject -linux
76
+ asset_path : iffmaster -linux
77
+ asset_name : iffmaster -linux
78
78
asset_content_type : application/octet-stream
79
79
80
80
- name : Upload Release Asset (Windows)
84
84
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
85
85
with :
86
86
upload_url : ${{ steps.create_release.outputs.upload_url }}
87
- asset_path : myproject -windows.exe
88
- asset_name : myproject -windows.exe
87
+ asset_path : iffmaster -windows.exe
88
+ asset_name : iffmaster -windows.exe
89
89
asset_content_type : application/octet-stream
90
90
91
91
- name : Upload Release Asset (macOS)
95
95
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
96
96
with :
97
97
upload_url : ${{ steps.create_release.outputs.upload_url }}
98
- asset_path : myproject -macos
99
- asset_name : myproject -macos
98
+ asset_path : iffmaster -macos
99
+ asset_name : iffmaster -macos
100
100
asset_content_type : application/octet-stream
0 commit comments