Skip to content

Commit

Permalink
fix: fix workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinin committed Feb 18, 2024
1 parent 56db8e6 commit e0fe2f1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit e0fe2f1

Please sign in to comment.