From c8ac27a0b09491d9d889ca353af5719af545901d Mon Sep 17 00:00:00 2001 From: He Qian Wang Date: Fri, 16 Aug 2024 14:20:33 -0400 Subject: [PATCH] Keep both .net 6 and 8 --- .github/workflows/ci.yml | 4 +++- .github/workflows/publish.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a608d5..89b1d70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,9 +13,11 @@ jobs: with: fetch-depth: 0 + - uses: actions/setup-dotnet@v4 + - uses: actions/setup-dotnet@v4 with: - global-json-file: "global.json" + dotnet-version: "6.0.x" - run: ./Build.ps1 shell: pwsh diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 333d604..e20ff34 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,9 +14,11 @@ jobs: with: fetch-depth: 0 + - uses: actions/setup-dotnet@v4 + - uses: actions/setup-dotnet@v4 with: - global-json-file: "global.json" + dotnet-version: "6.0.x" - run: ./Build.ps1 shell: pwsh