-
Notifications
You must be signed in to change notification settings - Fork 2
29 lines (25 loc) · 875 Bytes
/
main.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
name: olde frameworke
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest #ubuntu-latest
steps:
#- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
#- name: Setup MSBuild Path
# uses: warrenbuckley/Setup-MSBuild@v1
- name: Setup NuGet
uses: NuGet/[email protected]
#- name: Restore Packages
# run: nuget restore AutoFindReplace.sln
- name: Restore NuGet Packages
run: nuget restore AutoFindReplace.sln
- name: Build Solution
#run: msbuild.exe AutoFindReplace.sln /p:platform="Any CPU" /p:configuration="Release"
run: msbuild AutoFindReplace.sln /p:Configuration=Release #/p:DeployOnBuild=true /p:PublishProfile=FolderProfile