Skip to content

Commit 80b5101

Browse files
authored
Upgrade .NET Core SDK, Cake & CI Improvements (#172)
* Upgrade to .NET Core SDK 3.1.300 * Upgrade to Cake.Tool 0.38.1 * Only publish non-preview versions to NuGet * Add images using Git LFS
1 parent 2aee0b2 commit 80b5101

File tree

7 files changed

+7
-4
lines changed

7 files changed

+7
-4
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: 'Install .NET Core SDK'
3535
uses: actions/setup-dotnet@v1
3636
with:
37-
dotnet-version: 3.1.201
37+
dotnet-version: 3.1.300
3838
- name: 'Dotnet Tool Restore'
3939
run: dotnet tool restore
4040
shell: pwsh

Images/Banner.png

-11.4 KB
Loading
-58.4 KB
Loading

Images/Icon.png

-10.3 KB
Loading

azure-pipelines.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ stages:
113113
steps:
114114
- task: NuGetToolInstaller@1
115115
displayName: 'Install NuGet'
116-
- pwsh: nuget push $(Agent.BuildDirectory)\Windows\*.nupkg -Source https://api.nuget.org/v3/index.json -ApiKey $(NuGetApiKey) -SkipDuplicate
116+
- pwsh: |
117+
Get-ChildItem $(Agent.BuildDirectory)\Windows -Filter *.nupkg |
118+
Where-Object { !$_.Name.Contains('preview') } |
119+
ForEach-Object { nuget push $_ -Source https://api.nuget.org/v3/index.json -ApiKey $(NuGetApiKey) -SkipDuplicate }
117120
displayName: 'NuGet Push'
118121
failOnStderr: true

dotnet-tools.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"cake.tool": {
6-
"version": "0.37.0",
6+
"version": "0.38.1",
77
"commands": [
88
"dotnet-cake"
99
]

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"sdk": {
3-
"version": "3.1.201"
3+
"version": "3.1.300"
44
}
55
}

0 commit comments

Comments
 (0)