Update NuGet CI for org
This commit is contained in:
parent
872e586cdd
commit
33cba4a084
@ -23,15 +23,15 @@ jobs:
|
||||
|
||||
- name: Pack Domain
|
||||
if: startsWith(github.ref, "refs/tags/v")
|
||||
run: dotnet pack fengling-platform/Fengling.Platform.Domain/Fengling.Platform.Domain.csproj -c Release -o ./packages
|
||||
run: dotnet pack Fengling.Platform.Domain/Fengling.Platform.Domain.csproj -c Release -o ./packages
|
||||
|
||||
- name: Pack Infrastructure
|
||||
if: startsWith(github.ref, "refs/tags/v")
|
||||
run: dotnet pack fengling-platform/Fengling.Platform.Infrastructure/Fengling.Platform.Infrastructure.csproj -c Release -o ./packages
|
||||
run: dotnet pack Fengling.Platform.Infrastructure/Fengling.Platform.Infrastructure.csproj -c Release -o ./packages
|
||||
|
||||
- name: Push to Gitea
|
||||
if: startsWith(github.ref, "refs/tags/v")
|
||||
run: |
|
||||
for pkg in ./packages/*.nupkg; do
|
||||
dotnet nuget push "$pkg" --source "$GITEA_URL/gitea_registry/movingsam/go/__index" --skip-duplicate
|
||||
dotnet nuget push "$pkg" --source "$GITEA_URL/gitea_registry/fengling/go/__index" --skip-duplicate
|
||||
done
|
||||
Loading…
Reference in New Issue
Block a user