File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build .NET Framework Project
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ build :
13+ runs-on : windows-latest
14+
15+ steps :
16+ # Checkout the repository
17+ - name : Checkout code
18+ uses : actions/checkout@v3
19+
20+ # Setup MSBuild
21+ - name : Setup MSBuild
22+ uses : microsoft/setup-msbuild@v1
23+
24+ # Setup NuGet
25+ - name : Setup NuGet
26+ uses : NuGet/setup-nuget@v1
27+
28+ # Restore NuGet packages
29+ - name : Restore NuGet packages
30+ run : nuget restore "source\Plugins.sln"
31+
32+ # Build the solution
33+ - name : Build solution
34+ run : msbuild "\source\Plugins.sln" /p:Configuration=Release
35+
36+ # Run tests (optional)
37+ # - name: Run tests
38+ # run: |
39+ # vstest.console.exe path\to\your\test\project.dll
You can’t perform that action at this time.
0 commit comments