Onelined add source command
This commit is contained in:
parent
c1f618ad19
commit
f8efd45076
@ -13,14 +13,9 @@ jobs:
|
||||
dotnet-version: '8.x'
|
||||
- name: "Build MycroForge.CLI NuGet package"
|
||||
run: cd MycroForge.CLI && dotnet pack -v d
|
||||
- name: "Add NuGet package source"
|
||||
- name: "Publish NuGet package"
|
||||
run: |
|
||||
dotnet nuget add source --name devdisciples \
|
||||
--username ${{secrets.NUGET_USER}} \
|
||||
--password ${{ NUGET_PASS }} \
|
||||
--store-password-in-clear-text \
|
||||
https://git.devdisciples.com/api/packages/devdisciples/nuget/index.json
|
||||
|
||||
echo 'Adding package source'
|
||||
dotnet nuget add source --name devdisciples --username ${{secrets.NUGET_USER}} --password ${{ NUGET_PASS }} --store-password-in-clear-text https://git.devdisciples.com/api/packages/devdisciples/nuget/index.json
|
||||
echo 'Pushing package'
|
||||
dotnet nuget push nupkg/MycroForge.CLI.1.0.1.nupkg --source devdisciples
|
||||
# - name: "Run MycroForge.CLI.Tests"
|
||||
# run: dotnet nuget push nupkg/MycroForge.CLI.1.0.1.nupkg --source devdisciples
|
||||
|
Loading…
Reference in New Issue
Block a user