Skip to content

Commit

Permalink
troubleshooting pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
leandromonaco committed Jan 21, 2025
1 parent 79a1b9c commit 70790f3
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,7 @@ jobs:
run: dotnet pack --configuration Release --output ./nupkgs

- name: Add GitHub Packages as a NuGet source
shell: pwsh
run: |
dotnet nuget add source `
https://nuget.pkg.github.com/devexlead/index.json `
--name github `
--username ${{ github.repository_owner }} `
--password ${{ secrets.GITHUB_TOKEN }} `
run: dotnet nuget add source https://nuget.pkg.github.com/devexlead/index.json --name github --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }}

- name: Publish to GitHub Packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
dotnet nuget push ./nupkgs/*.nupkg \
--source "github" \
--api-key $GITHUB_TOKEN
run: dotnet nuget push ./nupkgs/*.nupkg --source "github" --api-key ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 70790f3

Please sign in to comment.