From d3be50738e7b2780c0b3c96186aad7284a5e36bb Mon Sep 17 00:00:00 2001 From: Antyrama Date: Mon, 28 Oct 2024 08:19:36 +0100 Subject: [PATCH] Target net9.0 --- .github/workflows/main.yml | 18 +++++++++++++++++- .github/workflows/publish.yaml | 18 +++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index efccb9b..a05b8b1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,23 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 + - name: Setup .NET Core 6.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '6.0.x' + - name: Setup .NET Core 7.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '7.0.x' + - name: Setup .NET Core 8.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '8.0.x' + - name: Setup .NET Core 9.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '9.0.x' - name: Build run: dotnet build --configuration Release - name: Test diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 538ac7d..58a90ed 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -13,7 +13,23 @@ jobs: timeout-minutes: 15 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 + - name: Setup .NET Core 6.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '6.0.x' + - name: Setup .NET Core 7.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '7.0.x' + - name: Setup .NET Core 8.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '8.0.x' + - name: Setup .NET Core 9.0 + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '9.0.x' - name: Build run: dotnet build --configuration Release - name: Test