File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ branches : [ "main" ]
7
+ pull_request :
8
+ branches : [ "main" ]
9
+
10
+ env :
11
+ # Path to the solution file relative to the root of the project.
12
+ SOLUTION_FILE_PATH : .\Textify.sln
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
+ jobs :
20
+ build :
21
+ runs-on : windows-latest
22
+ steps :
23
+ - name : Checkout
24
+ uses : actions/checkout@v4
25
+ - name : Add MSBuild to PATH
26
+ uses : microsoft/setup-msbuild@v2
27
+ - name : Restore Packages
28
+ run : nuget restore ${{ env.SOLUTION_FILE_PATH }}
29
+ - name : Build Win32
30
+ working-directory : ${{env.GITHUB_WORKSPACE}}
31
+ # Add additional options to the MSBuild command line here (like platform or verbosity level).
32
+ # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
33
+ run : msbuild /m /p:Configuration=${{ env.BUILD_CONFIGURATION }} /p:Platform="Win32" ${{ env.SOLUTION_FILE_PATH }}
34
+ - name : Package
35
+ uses : actions/upload-artifact@v4
36
+ with :
37
+ name : Textify
38
+ path : " bin\\ *\\ Release"
You can’t perform that action at this time.
0 commit comments