From e0fe2f1c01adc9485f83ceb488c52e6448f9f7cd Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 18 Feb 2024 16:04:32 +0800 Subject: [PATCH] fix: fix workflow. --- .github/workflows/publish.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9a898cbdd..6c999303a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,13 +3,12 @@ name: "Publish" on: push: branches: [ rel-8.0.3 ] - env: DOTNET_VERSION: "8.0.200" jobs: publish: - name: "Checkout" + name: "Publish" runs-on: "windows-latest" steps: - uses: actions/checkout@v3 @@ -21,11 +20,15 @@ jobs: uses: nuget/setup-nuget@v1 with: nuget-version: '5.x' - - name: Pack All + - name: Build All + run: .\build-aspnetcore-build-sln.ps1 -f + working-directory: .\build + shell: powershell + - name: Pack All Packages run: .\build-aspnetcore-publish-sln.ps1 -f working-directory: .\build shell: powershell - - name: Publish Package + - name: Publish Packages run: dotnet nuget push ./aspnet-core/Publish/nupkgs/LINGYUN.*.nupkg --api-key ${{ secrets.NUGETKEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate