-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bdb3257
commit 303eca7
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Build .NET Framework Project | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
# Checkout the repository | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
# Setup MSBuild | ||
- name: Setup MSBuild | ||
uses: microsoft/setup-msbuild@v1 | ||
|
||
# Setup NuGet | ||
- name: Setup NuGet | ||
uses: NuGet/setup-nuget@v1 | ||
|
||
# Restore NuGet packages | ||
- name: Restore NuGet packages | ||
run: nuget restore "source\Plugins.sln" | ||
|
||
# Build the solution | ||
- name: Build solution | ||
run: msbuild "\source\Plugins.sln" /p:Configuration=Release | ||
|
||
# Run tests (optional) | ||
#- name: Run tests | ||
#run: | | ||
#vstest.console.exe path\to\your\test\project.dll |