Skip to content

Commit

Permalink
Install latest .NET SDK. (#9)
Browse files Browse the repository at this point in the history
Signed-off-by: AraHaan <[email protected]>
  • Loading branch information
AraHaan authored Sep 5, 2022
1 parent 35955d3 commit 1a854f4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 15 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Install latest .NET 6 SDK.
- name: Install latest .NET SDK.
uses: Elskom/setup-latest-dotnet@main
with:
VERSION_MAJOR: 6
VERSION_BAND: 4xx
- name: Restore, Build, and Pack
uses: Elskom/build-dotnet@main
6 changes: 1 addition & 5 deletions .github/workflows/dotnet-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@main
- name: Install latest .NET 6 SDK.
- name: Install latest .NET SDK.
uses: Elskom/setup-latest-dotnet@main
with:
VERSION_MAJOR: 6
VERSION_BAND: 4xx

- name: Restore, Build, and Pack
uses: Elskom/build-dotnet@main
with:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Install latest .NET 6 SDK.
- name: Install latest .NET SDK.
uses: Elskom/setup-latest-dotnet@main
with:
VERSION_MAJOR: 6
VERSION_BAND: 4xx
- name: Restore, Build, and Pack
uses: Elskom/build-dotnet@main
3 changes: 1 addition & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"sdk": {
"version": "6.0.300",
"allowPrerelease" : true,
"rollForward": "latestFeature"
},
Expand All @@ -9,4 +8,4 @@
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22430.4",
"Microsoft.DotNet.SharedFramework.Sdk": "7.0.0-beta.22317.1"
}
}
}

0 comments on commit 1a854f4

Please sign in to comment.