Onelined add source command
All checks were successful
Build MycroForge.CLI / test (push) Successful in 39s
Test MycroForge.CLI / test (push) Has been skipped

This commit is contained in:
mdnapo 2024-10-06 12:31:49 +02:00
parent c1f618ad19
commit f8efd45076

View File

@ -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