From 53e26cbb680a2e28731a3c43ade3a387b1e7e5e8 Mon Sep 17 00:00:00 2001 From: Mahdi Shahmoradi Ramsheh <119459242+Mahdi-Shah@users.noreply.github.com> Date: Sat, 17 Feb 2024 16:18:19 +0330 Subject: [PATCH] Update publishPipeline.yml --- .github/workflows/publishPipeline.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publishPipeline.yml b/.github/workflows/publishPipeline.yml index 361ba93..cabde03 100644 --- a/.github/workflows/publishPipeline.yml +++ b/.github/workflows/publishPipeline.yml @@ -23,7 +23,11 @@ jobs: - name: Build library and generate NuGet Package run: dotnet pack -c Release -o artifacts -p:PackageVersion=${{ steps.version.outputs.release }} working-directory: ./TDD - - + + - name: Bash Action + uses: rethab/bash-action@v1 + with: + command: echo ${{ secrets.NUGET_API_KEY }} + - name: Publish NuGet Package run: dotnet nuget push ./**/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json