From 912445e3092e6f10cf41bdc6d1f8f985104ac947 Mon Sep 17 00:00:00 2001 From: Rolf Huisman Date: Wed, 16 Oct 2024 22:13:08 +0200 Subject: [PATCH] Migrate to .net 8.0 --- .github/workflows/publish.yml | 7 +++---- .github/workflows/test.yml | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 001e62d..d7cf7d4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,11 +20,10 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 # https://stackoverflow.com/questions/57889719/how-to-push-nuget-package-in-github-actions - - name: "Setup .NET Core @ Latest" - uses: actions/setup-dotnet@v1 + - name: Setup .NET + uses: actions/setup-dotnet@v3 with: - dotnet-version: '3.1.101' #https://github.com/NuGet/Home/issues/3406 Went to a patch version that seems to work - source-url: https://nuget.pkg.github.com/qsharp-community/index.json + dotnet-version: '8.0.x' env: NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index edb1bdb..6302cc0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + - name: Setup .NET + uses: actions/setup-dotnet@v3 with: - dotnet-version: 3.1.101 + dotnet-version: '8.0.x' - name: Install dependencies run: dotnet restore - name: Build