From d7bf5830e772fd142cf51f4f94b258ec13fc9d05 Mon Sep 17 00:00:00 2001 From: onurkanbakirci Date: Wed, 13 Dec 2023 18:51:57 +0300 Subject: [PATCH] fix: incorrect source edited --- .github/workflows/composite/publish-lib/action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/composite/publish-lib/action.yml b/.github/workflows/composite/publish-lib/action.yml index cdd8fdc..2c4a23f 100644 --- a/.github/workflows/composite/publish-lib/action.yml +++ b/.github/workflows/composite/publish-lib/action.yml @@ -29,6 +29,10 @@ runs: shell: "bash" run: dotnet pack ${{ inputs.path }} --configuration Release --no-build + - name: Add github as a source + shell: "bash" + run: dotnet nuget add source --username onurkanbakirci --password ${{inputs.api_key}} --name github https://nuget.pkg.github.com/onurkanbakirci/index.json + - name: Publish nuget packages shell: "bash" - run: dotnet nuget push "${{ inputs.nupkg_path }}" --source "${{inputs.source}}" --api-key ${{inputs.api_key}} \ No newline at end of file + run: dotnet nuget push ${{ inputs.nupkg_path }} --source ${{inputs.source}} --api-key ${{inputs.api_key}} \ No newline at end of file