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-
61name : MSBuild
72
83on :
94 push :
105 branches : [ "main" ]
6+ paths-ignore :
7+ - " .gitignore"
8+ - " README.md"
119 pull_request :
1210 branches : [ "main" ]
11+ paths-ignore :
12+ - " .gitignore"
13+ - " README.md"
14+ - " .github/**"
1315
1416env :
15- # Path to the solution file relative to the root of the project.
1617 SOLUTION_FILE_PATH : build/ffTools.sln
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
2118 BUILD_CONFIGURATION : Release
2219
2320permissions :
@@ -30,15 +27,19 @@ jobs:
3027 steps :
3128 - uses : actions/checkout@v4
3229
33- - name : Add MSBuild to PATH
30+ - name : add msbuild to path
3431 uses : microsoft/setup-msbuild@v1.0.2
3532
36- - name : Restore NuGet packages
33+ - name : restore nuget packages
3734 working-directory : ${{env.GITHUB_WORKSPACE}}
3835 run : nuget restore ${{env.SOLUTION_FILE_PATH}}
3936
40- - name : Build
37+ - name : build solution
4138 working-directory : ${{env.GITHUB_WORKSPACE}}
42- # Add additional options to the MSBuild command line here (like platform or verbosity level).
43- # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
4439 run : msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
40+
41+ - name : upload release build
42+ uses : actions/upload-artifact@v4
43+ with :
44+ name : ffTools-release
45+ path : build/bin/${{env.BUILD_CONFIGURATION}}/
0 commit comments