-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (34 loc) · 897 Bytes
/
build.yml
File metadata and controls
42 lines (34 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build
on:
push:
branches: [ "master" ]
jobs:
build_windows_cli:
name: Build MuConvert.exe (win-x64)
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
- name: Restore
run: dotnet restore MuConvert.slnx
- name: Publish (win-x64)
run: >
dotnet publish MuConvert.csproj
-c Release
-r win-x64
-o publish/win-x64
-p:SelfContained=true
-p:UseAppHost=true
-p:PublishSingleFile=true
- name: Upload artifact (MuConvert.exe)
uses: actions/upload-artifact@v7
with:
name: MuConvert.exe
path: publish/win-x64/MuConvert.exe