Update NuGet/setup-nuget action to v2 #28
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
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@v1 | |
- 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 |