From f8efd450762bee0d0f1c6667f47658c137738787 Mon Sep 17 00:00:00 2001 From: mdnapo Date: Sun, 6 Oct 2024 12:31:49 +0200 Subject: [PATCH] Onelined add source command --- .gitea/workflows/build.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 057a8b8..8abe857 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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