Skip to content

Commit

Permalink
Use net8.0 SDK (#468)
Browse files Browse the repository at this point in the history
* Install net8.0

* Update SDK on Azure
  • Loading branch information
iamcarbon authored Dec 22, 2023
1 parent 6a59ccf commit 66ae98f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ jobs:

- name: Install .NET
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3
with:
dotnet-version: |
6.0.x
8.0.x
- name: Run restore
run: dotnet restore
Expand Down Expand Up @@ -128,6 +132,10 @@ jobs:

- name: Install .NET
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3
with:
dotnet-version: |
6.0.x
8.0.x
- name: Run restore
run: dotnet restore
Expand Down Expand Up @@ -177,6 +185,10 @@ jobs:

- name: Install .NET
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3
with:
dotnet-version: |
6.0.x
8.0.x
# Publish to GitHub package registry every time, whether it's a prerelease
# version or a stable release version.
Expand Down
16 changes: 8 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
vmImage: $(TargetWindowsVMImage)
steps:
- task: UseDotNet@2
displayName: 'Use .NET 7.0 SDK'
displayName: 'Use .NET 8.0 SDK'
inputs:
packageType: 'sdk'
version: '7.0.x'
version: '8.0.x'
installationPath: $(Agent.ToolsDirectory)/dotnet-demo
- task: DotNetCoreCLI@2
displayName: 'dotnet restore'
Expand Down Expand Up @@ -50,10 +50,10 @@ jobs:
vmImage: $(TargetWindowsVMImage)
steps:
- task: UseDotNet@2
displayName: 'Use .NET 7.0 SDK'
displayName: 'Use .NET 8.0 SDK'
inputs:
packageType: 'sdk'
version: '7.0.x'
version: '8.0.x'
- task: DotNetCoreCLI@2
displayName: 'dotnet restore'
inputs:
Expand All @@ -78,10 +78,10 @@ jobs:
packageType: 'sdk'
version: '6.0.x'
- task: UseDotNet@2
displayName: 'Install .NET 7.0 SDK'
displayName: 'Install .NET 8.0 SDK'
inputs:
packageType: 'sdk'
version: '7.0.x'
version: '8.0.x'
- task: DotNetCoreCLI@2
displayName: 'dotnet restore'
inputs:
Expand Down Expand Up @@ -136,10 +136,10 @@ jobs:
packageType: 'sdk'
version: '6.0.x'
- task: UseDotNet@2
displayName: 'Use .NET 7.0 SDK'
displayName: 'Use .NET 8.0 SDK'
inputs:
packageType: 'sdk'
version: '7.0.x'
version: '8.0.x'
- task: DotNetCoreCLI@2
displayName: 'dotnet restore'
inputs:
Expand Down

0 comments on commit 66ae98f

Please sign in to comment.