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