Commit 5089a5e 1 parent fd64bbe commit 5089a5e Copy full SHA for 5089a5e
File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build project
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+ branches : [ "main" ]
7
+ release :
8
+ types : [published]
9
+
10
+ env :
11
+ # Path to the solution file relative to the root of the project.
12
+ SOLUTION_FILE_PATH : .
13
+
14
+ # Configuration type to build.
15
+ # You can convert this to a build matrix if you need coverage of multiple configuration types.
16
+ # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
17
+ BUILD_CONFIGURATION : Release
18
+
19
+ permissions :
20
+ contents : read
21
+
22
+ jobs :
23
+ build :
24
+ runs-on : windows-latest
25
+
26
+ steps :
27
+ - uses : actions/checkout@v4
28
+
29
+ - name : Add MSBuild to PATH
30
+ uses : microsoft/setup-msbuild@v1.0.2
31
+
32
+ - name : Build
33
+ working-directory : ${{env.GITHUB_WORKSPACE}}
34
+ # Add additional options to the MSBuild command line here (like platform or verbosity level).
35
+ # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
36
+ run : msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
You can’t perform that action at this time.
0 commit comments