From c2b18ccf989ee80fe7a853cd2c2ae8a16b4eb1b6 Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 18 Feb 2024 15:46:39 +0800 Subject: [PATCH] fix: fix workflow. --- .github/workflows/build.yml | 2 +- .github/workflows/publish.yml | 15 +++------------ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10db133f2..589688a0a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ on: - "**.csproj" env: - DOTNET_VERSION: "8.0.100" + DOTNET_VERSION: "8.0.200" jobs: build: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b5609d82e..6abaccc14 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,10 +5,10 @@ on: branches: [ rel-8.0.3 ] env: - DOTNET_VERSION: "8.0.100" + DOTNET_VERSION: "8.0.200" jobs: - checkout: + publish: name: "Checkout" runs-on: "ubuntu-latest" steps: @@ -17,11 +17,6 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: ${{ env.DOTNET_VERSION }} - - pack: - name: "Pack" - runs-on: "ubuntu-latest" - steps: - name: Install NuGet uses: nuget/setup-nuget@v1 with: @@ -30,11 +25,7 @@ jobs: run: .\build-aspnetcore-publish-sln.ps1 -f working-directory: .\build shell: powershell - - publish: - name: "Pack" - runs-on: "ubuntu-latest" - steps: - name: Publish Package run: dotnet nuget push ./aspnet-core/Publish/nupkgs/LINGYUN.*.nupkg --api-key ${{ secrets.NUGETKEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate +