Update to .NET 5 RTM

This commit is contained in:
Adeel
2020-11-11 06:56:36 +02:00
parent 4519c657ba
commit a387e745a0
4 changed files with 11 additions and 14 deletions

View File

@@ -33,17 +33,8 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
# uses: github/codeql-action/autobuild@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.100-rc.1.20452.10
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

View File

@@ -16,10 +16,10 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.100-rc.1.20452.10
dotnet-version: 5.0.100
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal UnitTests/
run: dotnet test --no-restore --verbosity normal

View File

@@ -13,7 +13,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.100-rc.1.20452.10
dotnet-version: 5.0.100
# Publish
- name: publish on version change

6
global.json Normal file
View File

@@ -0,0 +1,6 @@
{
"sdk":{
"version":"5.0.100",
"rollForward":"latestMajor"
}
}