From 3970767115e622d791e10070be7bfe87f5e47aa3 Mon Sep 17 00:00:00 2001 From: huoshan12345 Date: Sat, 12 Apr 2025 00:41:10 +0800 Subject: [PATCH 1/2] add dotnet 7.0 --- .github/workflows/build-pr-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-pr-ci.yml b/.github/workflows/build-pr-ci.yml index aa11247a..6795133f 100644 --- a/.github/workflows/build-pr-ci.yml +++ b/.github/workflows/build-pr-ci.yml @@ -12,8 +12,10 @@ jobs: fetch-depth: 0 - name: Setup .NET Core uses: actions/setup-dotnet@v4 - with: - dotnet-version: 9.x + with: # NOTE: we don't need to install 6.x and 8.x cause they are included in windows-latest(windows-2022) image. + dotnet-version: | + 7.x + 9.x - name: Build Reason run: "echo ref: ${{github.ref}} event: ${{github.event_name}}" From f4a8fe9f4fe758fd98156f70f310c99c17454527 Mon Sep 17 00:00:00 2001 From: huoshan12345 Date: Sat, 12 Apr 2025 00:51:00 +0800 Subject: [PATCH 2/2] remove 9.x --- .github/workflows/build-pr-ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-pr-ci.yml b/.github/workflows/build-pr-ci.yml index 6795133f..3c2ca2bb 100644 --- a/.github/workflows/build-pr-ci.yml +++ b/.github/workflows/build-pr-ci.yml @@ -12,10 +12,8 @@ jobs: fetch-depth: 0 - name: Setup .NET Core uses: actions/setup-dotnet@v4 - with: # NOTE: we don't need to install 6.x and 8.x cause they are included in windows-latest(windows-2022) image. - dotnet-version: | - 7.x - 9.x + with: # NOTE: we don't need to install 6.x, 8.x and 9.x cause they are included in windows-latest(windows-2022) image. + dotnet-version: 7.x - name: Build Reason run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"