Skip to content

Commit

Permalink
Change .NET SDK version to a fixed version
Browse files Browse the repository at this point in the history
  - This change adjusts the .NET SDK version installed to be fixed to 6.0.102 to workaround issues with `dotnet format` (see dotnet/format#1519).
  • Loading branch information
craigktreasure committed Feb 16, 2022
1 parent 1ff3419 commit 9e7fd95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
env:
# Stop wasting time caching packages
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
SETUP_DOTNET_VERSION: 6.0.102

jobs:
build:
Expand All @@ -33,7 +34,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x
dotnet-version: ${{ env.SETUP_DOTNET_VERSION }}

- name: Set version
id: version
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: pull_request
env:
# Stop wasting time caching packages
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
SETUP_DOTNET_VERSION: 6.0.102

jobs:
build:
Expand All @@ -24,7 +25,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.x
dotnet-version: ${{ env.SETUP_DOTNET_VERSION }}

- name: Install dependencies
run: dotnet restore
Expand Down

0 comments on commit 9e7fd95

Please sign in to comment.