Skip to content

Commit

Permalink
Update master_SenparcWeixinSampleNetCore3.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreySu authored Mar 13, 2022
1 parent e21285a commit 8ea0b6e
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/master_SenparcWeixinSampleNetCore3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,11 @@ jobs:
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.5

- name: Set up .NET Core 2.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.1.807'


- name: Set up .NET Core 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.301'

- name: Set up .NET 5.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.403'

- name: Set up .NET 6.0
uses: actions/setup-dotnet@v1
Expand All @@ -55,11 +45,11 @@ jobs:
# run: dir

- name: Restore NuGet packages
run: nuget restore "./Samples/net6-mvc/"
#-SolutionDirectory ./Samples/net6-mvc/
run: nuget restore "./Samples/All/net6-mvc/"
#-SolutionDirectory ./Samples/All/net6-mvc/

- name: Publish to folder
run: msbuild "Samples/net6-mvc/Senparc.Weixin.Sample.Net6.sln" /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="\published\"
run: msbuild "Samples/All/net6-mvc/Senparc.Weixin.Sample.Net6.sln" /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="\published\"

- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v2
Expand Down

0 comments on commit 8ea0b6e

Please sign in to comment.