-
Notifications
You must be signed in to change notification settings - Fork 12
/
dotnet.yml
34 lines (25 loc) · 846 Bytes
/
dotnet.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
name: Checkout Code
- name: Setup NuGet
uses: NuGet/[email protected]
- name: Restore NuGet Packages
run: nuget restore SqlServer.Rules.sln
- name: setup-msbuild
uses: microsoft/setup-msbuild@v1
#with:
## Folder location of where vswhere.exe is located if a self-hosted agent
# vswhere-path: # optional
## Version of Visual Studio to search; defaults to latest if not specified
# vs-version: # optional
- name: Build and Publish Web App
run: msbuild SqlServer.Rules.sln /p:Configuration=Release /p:DeployOnBuild=true /p:PublishProfile=FolderProfile