Skip to content

Commit

Permalink
chore: use fullpath for pkg upload
Browse files Browse the repository at this point in the history
  • Loading branch information
codito authored Jul 4, 2023
1 parent 56a102b commit 1313a13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ jobs:
- name: Publish packages
if: ${{ github.event_name == 'push' && matrix.os == 'windows-latest' }}
run: |
ls src/package/bin/Release
dotnet nuget push src/package/bin/Release/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/spekt/index.json
dotnet nuget push src/package/bin/Release/*.nupkg --api-key ${{ secrets.SPEKT_MYGET_KEY }} --source https://www.myget.org/F/spekt/api/v3/index.json
$packageFile = (Get-ChildItem src/package/bin/Release/*.nupkg).FullName
dotnet nuget push "$packageFile" --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/spekt/index.json
dotnet nuget push "$packageFile" --api-key ${{ secrets.SPEKT_MYGET_KEY }} --source https://www.myget.org/F/spekt/api/v3/index.json

0 comments on commit 1313a13

Please # to comment.