Skip to content

Commit

Permalink
Pin .NET SDK Version
Browse files Browse the repository at this point in the history
  • Loading branch information
devlead committed Dec 11, 2021
1 parent 095a283 commit af075b1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,18 @@ jobs:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}

- name: Setup dotnet
uses: actions/setup-dotnet@v1.9.0
- name: Install .NET Core SDK 3.1.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
3.1.413
5.0.403
6.0.100
dotnet-version: '3.1.x'

- name: Install .NET Core SDK 5.0.x
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'

- name: Install .NET Core SDK (global.json)
uses: actions/setup-dotnet@v1

- name: Build project
uses: cake-build/cake-action@v1
Expand Down
7 changes: 7 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sdk": {
"version": "6.0.100",
"rollForward": "feature",
"allowPrerelease": false
}
}

0 comments on commit af075b1

Please sign in to comment.