-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (32 loc) · 1022 Bytes
/
dotnet-desktop.yml
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
# This is a basic workflow to help you get started with Actions
name: ProjectBuild
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
Build:
# The type of runner that the job will run on
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.1
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.7
- name: Restore NuGet packages
run: nuget restore Another-Mirai-Native.sln
- name: Restore DllExport
run: .\DllExport -action Restore
- name: Run MSBuild
run: msbuild
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.0
with:
name: artifact
path: |
Another-Mirai-Native\bin\Debug\AnotherMiraiNative.exe
Another-Mirai-Native\bin\Debug\CQP.dll