Commit b4a90b1 1 parent 57566d4 commit b4a90b1 Copy full SHA for b4a90b1
File tree 1 file changed +51
-0
lines changed
1 file changed +51
-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 : [ "main" ]
11
+ pull_request :
12
+ branches : [ "main" ]
13
+
14
+ env :
15
+ # Path to the solution file relative to the root of the project.
16
+ SOLUTION_FILE_PATH : .
17
+
18
+ # Configuration type to build.
19
+ # You can convert this to a build matrix if you need coverage of multiple configuration types.
20
+ # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
21
+ BUILD_CONFIGURATION : Release
22
+
23
+ permissions :
24
+ contents : read
25
+
26
+ jobs :
27
+ build :
28
+ runs-on : windows-latest
29
+
30
+ steps :
31
+ - uses : actions/checkout@v4
32
+
33
+ - name : Add MSBuild to PATH
34
+ uses : microsoft/setup-msbuild@v1.0.2
35
+
36
+ - name : Build
37
+ working-directory : ${{env.GITHUB_WORKSPACE}}
38
+ # Add additional options to the MSBuild command line here (like platform or verbosity level).
39
+ # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
40
+ run : msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
41
+
42
+ - name : Upload a Build Artifact
43
+ uses : actions/upload-artifact@v4.3.4
44
+ with :
45
+ # Artifact name
46
+ name : networking-fix.dll
47
+ # A file, directory or wildcard pattern that describes what to upload
48
+ path : x64/Release/NetworkingFix.dll
49
+ # The desired behavior if no files are found using the provided path.
50
+ overwrite : true
51
+
You can’t perform that action at this time.
0 commit comments