File tree Expand file tree Collapse file tree 10 files changed +29
-25
lines changed
Expand file tree Collapse file tree 10 files changed +29
-25
lines changed Original file line number Diff line number Diff line change 11name : CI
22
33on :
4- create :
5- branches :
6- - release/**
74 push :
5+ tags :
6+ - v*
87 branches :
98 - main
109 paths :
1110 - src/**
1211 - samples/**
12+ - tests/**
13+ - build/**
1314 - .github/workflows/ci.yml
1415 pull_request :
1516 branches :
1617 - main
1718 paths :
1819 - src/**
1920 - samples/**
21+ - tests/**
22+ - build/**
2023 - .github/workflows/ci.yml
2124 workflow_dispatch :
2225
@@ -40,20 +43,20 @@ jobs:
4043 echo "BUILD_VERSION=$version" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
4144 shell : pwsh
4245
46+ - name : Setup .NET 6.0
47+ uses : actions/setup-dotnet@v1
48+ with :
49+ dotnet-version : 6.0.x
50+
4351 - name : Setup NuGet
4452 uses : NuGet/setup-nuget@v1.0.5
4553
4654 - name : Restore dependencies
4755 run : nuget restore $SOLUTION
4856
49- - name : Setup .NET
50- uses : actions/setup-dotnet@v1
51- with :
52- dotnet-version : 3.1.x
53-
5457 - name : Build
5558 run : dotnet build $SOLUTION --configuration $BUILD_CONFIG -p:Version=$BUILD_VERSION --no-restore
5659
5760 - name : Publish
58- if : startsWith(github.ref, 'refs/heads/release ')
61+ if : startsWith(github.ref, 'refs/tags/v ')
5962 run : nuget push **\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}
Original file line number Diff line number Diff line change 77 paths :
88 - docs/**
99 - src/**
10+ - .github/workflows/docs.yml
1011 pull_request :
1112 branches :
1213 - main
1314 paths :
1415 - docs/**
15- - src/**
16+ - .github/workflows/docs.yml
1617 workflow_dispatch :
1718
1819jobs :
1920 generate-docs :
20-
21+
2122 runs-on : windows-latest
2223
2324 steps :
2425 - uses : actions/checkout@v2
25-
26- - name : Setup .NET
26+
27+ - name : Setup .NET 6.0
2728 uses : actions/setup-dotnet@v1
2829 with :
29- dotnet-version : 3.1 .x
30-
30+ dotnet-version : 6.0 .x
31+
3132 - name : Setup DocFX
3233 uses : crazy-max/ghaction-chocolatey@v1
3334 with :
3435 args : install docfx
35-
36+
3637 - name : DocFX Build
3738 working-directory : docs
3839 run : docfx .\docfx.json
3940 continue-on-error : false
40-
41+
4142 - name : Publish
4243 if : github.event_name == 'push'
4344 uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >netcoreapp3.1 </TargetFramework >
4+ <TargetFramework >net6.0 </TargetFramework >
55
66 <IsPackable >false</IsPackable >
77 </PropertyGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >netcoreapp3.1 </TargetFramework >
4+ <TargetFramework >net6.0 </TargetFramework >
55
66 <IsPackable >false</IsPackable >
77 </PropertyGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >netcoreapp3.1 </TargetFramework >
4+ <TargetFramework >net6.0 </TargetFramework >
55
66 <IsPackable >false</IsPackable >
77 </PropertyGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >netcoreapp3.1 </TargetFramework >
4+ <TargetFramework >net6.0 </TargetFramework >
55
66 <IsPackable >false</IsPackable >
77 </PropertyGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >netcoreapp3.1 </TargetFramework >
4+ <TargetFramework >net6.0 </TargetFramework >
55
66 <IsPackable >false</IsPackable >
77 </PropertyGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >netcoreapp3.1 </TargetFramework >
4+ <TargetFramework >net6.0 </TargetFramework >
55
66 <IsPackable >false</IsPackable >
77 </PropertyGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >netcoreapp3.1 </TargetFramework >
4+ <TargetFramework >net6.0 </TargetFramework >
55
66 <IsPackable >false</IsPackable >
77 </PropertyGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >netcoreapp3.1 </TargetFramework >
4+ <TargetFramework >net6.0 </TargetFramework >
55
66 <IsPackable >false</IsPackable >
77 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments