Bläddra i källkod

Merge pull request #997 from am11/feature/rev-dotnet-version

Update to .NET 5 RTM
Charlie Kindel 4 år sedan
förälder
incheckning
79b15fee1c

+ 2 - 11
.github/workflows/codeql-analysis.yml

@@ -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

+ 2 - 2
.github/workflows/dotnet-core.yml

@@ -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

+ 1 - 1
.github/workflows/publish.yml

@@ -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 - 0
global.json

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