Browse Source

fix: fix workflow.

pull/929/head
colin 2 years ago
parent
commit
e0fe2f1c01
  1. 11
      .github/workflows/publish.yml

11
.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

Loading…
Cancel
Save