From c1f618ad190cd61f78a78c2c3c879525b172c286 Mon Sep 17 00:00:00 2001 From: mdnapo Date: Sun, 6 Oct 2024 12:27:55 +0200 Subject: [PATCH] Merged adding source with the publishing --- .gitea/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index e3d8325..057a8b8 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -11,14 +11,16 @@ jobs: - uses: https://github.com/actions/setup-dotnet@v4 with: 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 - - name: "Add package source" + - name: "Add NuGet package source" 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 - - 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