This is an automated email from the ASF dual-hosted git repository.

tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton-dotnet.git


The following commit(s) were added to refs/heads/main by this push:
     new 5591f78  PROTON-2551 Update to .NET 6 for CI builds
5591f78 is described below

commit 5591f7856f82942c854ca2b5842ced78c002de69
Author: Timothy Bish <tabish...@gmail.com>
AuthorDate: Fri May 27 13:14:50 2022 -0400

    PROTON-2551 Update to .NET 6 for CI builds
    
    This simply adds a .NET install but must retain the .NET 5 install
    as well as the project targets and build for .NET 5 and the tests
    won't run unless the targeting packs for 5 are present so while
    this does bring in .NET 6 it still shows a warning about 5 being
    EOL which is unavoidable given we need it to run the tests.
---
 .github/workflows/dotnet.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 659168f..c39bee0 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -13,10 +13,12 @@ jobs:
 
     steps:
     - uses: actions/checkout@v2
-    - name: Setup .NET
-      uses: actions/setup-dotnet@v1
+    - name: Setup .NET 6
+      uses: actions/setup-dotnet@v2
       with:
-        dotnet-version: 5.0.x
+        dotnet-version: |
+          6.0.x
+          5.0.x
     - name: Restore dependencies
       run: dotnet restore
     - name: Build


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to