Commit c865ee2 1 parent 61cbad7 commit c865ee2 Copy full SHA for c865ee2
File tree 1 file changed +42
-0
lines changed
1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow uses actions that are not certified by GitHub.
2
+ # They are provided by a third-party and are governed by
3
+ # separate terms of service, privacy policy, and support
4
+ # documentation.
5
+
6
+ name : MSBuild
7
+
8
+ on :
9
+ push :
10
+ branches : [ "master" ]
11
+
12
+ env :
13
+ # Path to the solution file relative to the root of the project.
14
+ SOLUTION_FILE_PATH : .
15
+
16
+ # Configuration type to build.
17
+ # You can convert this to a build matrix if you need coverage of multiple configuration types.
18
+ # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
19
+ BUILD_CONFIGURATION : QtRelease
20
+
21
+ permissions :
22
+ contents : read
23
+
24
+ jobs :
25
+ build :
26
+ runs-on : windows-latest
27
+
28
+ steps :
29
+ - uses : actions/checkout@v4
30
+
31
+ - name : Add MSBuild to PATH
32
+
33
+
34
+ - name : Restore NuGet packages
35
+ working-directory : ${{env.GITHUB_WORKSPACE}}
36
+ run : nuget restore ${{env.SOLUTION_FILE_PATH}}
37
+
38
+ - name : Build
39
+ working-directory : ${{env.GITHUB_WORKSPACE}}
40
+ # Add additional options to the MSBuild command line here (like platform or verbosity level).
41
+ # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
42
+ run : msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
You can’t perform that action at this time.
0 commit comments