Merged adding source with the publishing
This commit is contained in:
parent
5d49b9ab2d
commit
c1f618ad19
@ -11,14 +11,16 @@ jobs:
|
|||||||
- uses: https://github.com/actions/setup-dotnet@v4
|
- uses: https://github.com/actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.x'
|
dotnet-version: '8.x'
|
||||||
- name: "Build MycroForge.CLI as a NuGet package"
|
- name: "Build MycroForge.CLI NuGet package"
|
||||||
run: cd MycroForge.CLI && dotnet pack -v d
|
run: cd MycroForge.CLI && dotnet pack -v d
|
||||||
- name: "Add package source"
|
- name: "Add NuGet package source"
|
||||||
run: |
|
run: |
|
||||||
dotnet nuget add source --name devdisciples \
|
dotnet nuget add source --name devdisciples \
|
||||||
--username ${{secrets.NUGET_USER}} \
|
--username ${{secrets.NUGET_USER}} \
|
||||||
--password ${{ NUGET_PASS }} \
|
--password ${{ NUGET_PASS }} \
|
||||||
--store-password-in-clear-text \
|
--store-password-in-clear-text \
|
||||||
https://git.devdisciples.com/api/packages/devdisciples/nuget/index.json
|
https://git.devdisciples.com/api/packages/devdisciples/nuget/index.json
|
||||||
- name: "Run MycroForge.CLI.Tests"
|
|
||||||
run: dotnet nuget push nupkg/MycroForge.CLI.1.0.1.nupkg --source devdisciples
|
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