From c688b67b0bb1b9a810f35a527c0bd47acdd92097 Mon Sep 17 00:00:00 2001 From: Rex Date: Sun, 4 Feb 2024 12:12:26 +0000 Subject: [PATCH] remove setup dotnet --- .github/workflows/publish.yml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9241a66..239fe83 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,11 +31,6 @@ jobs: with: fetch-depth: 0 - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - DOTNET_VERSION: 6.x - - name: Create Nuget Package run: | dotnet publish --configuration Release @@ -53,11 +48,6 @@ jobs: runs-on: ubuntu-latest needs: [ create_nuget ] steps: - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - DOTNET_VERSION: 6.x - - uses: actions/download-artifact@v4 with: name: nuget @@ -76,11 +66,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - DOTNET_VERSION: 6.x - - name: Run tests run: dotnet test --configuration Release @@ -95,11 +80,6 @@ jobs: name: nuget path: ${{ env.NuGetDirectory }} - - name: Setup .NET Core - uses: actions/setup-dotnet@v4 - with: - DOTNET_VERSION: 6.x - - name: Publish NuGet package run: | foreach($file in (Get-ChildItem "${{ env.NuGetDirectory }}" -Recurse -Include *.nupkg)) {