From d804f3d8b7ddbfa4e2cfd710ae77d4a54fa23526 Mon Sep 17 00:00:00 2001 From: AliReZa Sabouri Date: Thu, 16 Nov 2023 21:30:51 +0100 Subject: [PATCH] chore: update workflow to use net8 --- .github/workflows/build.yml | 9 ++------- .github/workflows/publish.yml | 9 ++------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1386234..848e1a8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,15 +10,10 @@ jobs: env: HUSKY: 0 steps: - - uses: actions/checkout@v2 - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 7.0.x - name: Setup .NET 8 - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.100-preview.1.23115.2 + dotnet-version: 8.0.100 - name: Restore dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 84aa29f..250d59c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,15 +12,10 @@ jobs: env: HUSKY: 0 steps: - - uses: actions/checkout@v2 - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 7.0.x - name: Setup .NET 8 - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: - dotnet-version: 8.0.100-preview.1.23115.2 + dotnet-version: 8.0.x - name: Restore dependencies run: dotnet restore - name: Build