Skip to content

Commit

Permalink
Remove old CI workaround, update .NET 6 SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
yaakov-h authored Jul 1, 2024
2 parents 02fccc9 + e426bfb commit c25d8f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100

- name: Workaround for https://github.com/dotnet/core/issues/5881
run: dotnet nuget locals all --clear
dotnet-version: 6.0.423

- name: Build WTG.Analyzers
run: dotnet build src --configuration ${{ matrix.configuration }}
Expand All @@ -54,10 +51,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100

- name: Workaround for https://github.com/dotnet/core/issues/5881
run: dotnet nuget locals all --clear
dotnet-version: 6.0.423

- name: Build NuGet Package
run: dotnet pack src -p:CommitID=${{ github.sha }}
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.100

- name: Workaround for https://github.com/dotnet/core/issues/5881
run: dotnet nuget locals all --clear
dotnet-version: 6.0.423

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

0 comments on commit c25d8f0

Please sign in to comment.