Skip to content

Commit

Permalink
Fix NuGet path for Artifacts action v2
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddesmet committed May 10, 2022
1 parent 21caad2 commit 375d3c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
with:
name: 'windows-latest'
- name: 'NuGet Push'
run: dotnet nuget push .\windows-latest\*.nupkg --source https://nuget.pkg.github.com/daviddesmet/index.json --skip-duplicate --api-key ${{secrets.GITHUB_TOKEN}}
run: dotnet nuget push *.nupkg --source https://nuget.pkg.github.com/daviddesmet/index.json --skip-duplicate --api-key ${{secrets.GITHUB_TOKEN}}

push-to-nuget:
name: 'Push NuGet Packages'
Expand All @@ -120,7 +120,7 @@ jobs:
name: 'windows-latest'
- name: 'NuGet Push'
run: |
Get-ChildItem .\windows-latest -Filter *.nupkg |
Get-ChildItem . -Filter *.nupkg |
Where-Object { !$_.Name.Contains('preview') } |
ForEach-Object { dotnet nuget push $_ --source https://api.nuget.org/v3/index.json --skip-duplicate --api-key ${{secrets.NUGET_API_KEY}} }
shell: pwsh

0 comments on commit 375d3c1

Please sign in to comment.