Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

Commit

Permalink
Update publishPipeline.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahdi-Shah authored Feb 17, 2024
1 parent ac6b80d commit 53e26cb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publishPipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 53e26cb

Please sign in to comment.