Skip to content

Commit

Permalink
update publish-packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fredyyy998 committed Apr 10, 2023
1 parent c170fb1 commit bce6b7f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ jobs:
run: dotnet restore

- name: Build package
run: dotnet pack -c Release
run: dotnet pack src/Ecommerce.Common -c Release

- name: Publish package
uses: nuget/setup-nuget@v1
with:
nuget-api-key: ${{ secrets.GITHUB_TOKEN }}
nuget-version: '6.3.0.128'
run: |
dotnet nuget push *.nupkg --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/fredyyy998/index.json
dotnet nuget src/Ecommerce.Common push *.nupkg --skip-duplicate --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/fredyyy998/index.json

0 comments on commit bce6b7f

Please sign in to comment.