File tree 1 file changed +48
-0
lines changed
1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : .NET Core Desktop
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+
11
+ build :
12
+
13
+ strategy :
14
+ matrix :
15
+ configuration : [Debug, Release]
16
+
17
+ runs-on : windows-latest # For a list of available runner types, refer to
18
+ # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
19
+
20
+ steps :
21
+ - name : Checkout
22
+ uses : actions/checkout@v2
23
+ with :
24
+ fetch-depth : 0
25
+
26
+ - name : Install .NET Core
27
+ uses : actions/setup-dotnet@v1
28
+ with :
29
+ dotnet-version : 3.1.101
30
+
31
+ - name : Use Node.js 12
32
+ uses : actions/setup-node@v1
33
+ with :
34
+ node-version : 12
35
+
36
+ - name : Setup MSBuild.exe
37
+ uses : microsoft/setup-msbuild@2008f912f56e61277eefaac6d1888b750582aa16
38
+
39
+ - name : Build
40
+ run : msbuild build.proj /p:PackageOutputDir="${{ env.GITHUB_WORKSPACE }}/nuget-output" /p:Configuration=${{ matrix.configuration }}
41
+ env :
42
+ Configuration : ${{ matrix.configuration }}
43
+
44
+ - name : Upload build artifacts
45
+ uses : actions/upload-artifact@v1
46
+ with :
47
+ name : Nuget Package
48
+ path : " ${{ env.GITHUB_WORKSPACE }}/nuget-output"
You can’t perform that action at this time.
0 commit comments