Skip to content

Commit c25d8f0

Browse files
authored
Remove old CI workaround, update .NET 6 SDK
2 parents 02fccc9 + e426bfb commit c25d8f0

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,7 @@ jobs:
2424
- name: Setup .NET Core
2525
uses: actions/setup-dotnet@v1
2626
with:
27-
dotnet-version: 6.0.100
28-
29-
- name: Workaround for https://github.com/dotnet/core/issues/5881
30-
run: dotnet nuget locals all --clear
27+
dotnet-version: 6.0.423
3128

3229
- name: Build WTG.Analyzers
3330
run: dotnet build src --configuration ${{ matrix.configuration }}
@@ -54,10 +51,7 @@ jobs:
5451
- name: Setup .NET Core
5552
uses: actions/setup-dotnet@v1
5653
with:
57-
dotnet-version: 6.0.100
58-
59-
- name: Workaround for https://github.com/dotnet/core/issues/5881
60-
run: dotnet nuget locals all --clear
54+
dotnet-version: 6.0.423
6155

6256
- name: Build NuGet Package
6357
run: dotnet pack src -p:CommitID=${{ github.sha }}

.github/workflows/release.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ jobs:
2626
- name: Setup .NET Core
2727
uses: actions/setup-dotnet@v1
2828
with:
29-
dotnet-version: 6.0.100
30-
31-
- name: Workaround for https://github.com/dotnet/core/issues/5881
32-
run: dotnet nuget locals all --clear
29+
dotnet-version: 6.0.423
3330

3431
- name: Create NuGet Packages
3532
run: dotnet pack src --configuration Release /p:CommitID=${{ github.sha }} /p:TagVersion=${{ steps.tag_name.outputs.result }}

0 commit comments

Comments
 (0)