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