Compare commits
No commits in common. "8396da2e9ad37ae2b3f1624c296da9f57021f015" and "9b339c738ee01eeb665f81f1ba79cb7bab3b722c" have entirely different histories.
8396da2e9a
...
9b339c738e
@ -14,7 +14,7 @@ jobs:
|
||||
- name: "Build and publish NuGet package"
|
||||
run: |
|
||||
# Build the NuGet package
|
||||
cd MycroForge.CLI && dotnet pack -v m
|
||||
cd MycroForge.CLI && dotnet pack -v d
|
||||
|
||||
# Add the NuGet source
|
||||
dotnet nuget add source --name devdisciples \
|
||||
@ -23,8 +23,7 @@ jobs:
|
||||
--store-password-in-clear-text \
|
||||
https://git.devdisciples.com/api/packages/devdisciples/nuget/index.json
|
||||
|
||||
# Get the path to the package
|
||||
PACKAGE="nupkg/$(ls nupkg)"
|
||||
VERSION=$(grep '<Version>' < MycroForge.CLI.csproj | sed 's/.*<Version>\(.*\)<\/Version>/\1/')
|
||||
|
||||
# Push the package
|
||||
dotnet nuget push "PACKAGE" --source devdisciples
|
||||
dotnet nuget push "nupkg/MycroForge.CLI.$VERSION.nupkg" --source devdisciples
|
||||
|
Loading…
Reference in New Issue
Block a user