Skip to content

Commit 8556ebc

Browse files
committed
fixing more errors
1 parent 1b42101 commit 8556ebc

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/release-resultr.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ jobs:
4848
working-directory: src/ResultR
4949

5050
- name: Publish to NuGet
51-
run: dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
51+
shell: pwsh
52+
run: |
53+
Get-ChildItem -Path ./nupkg -Filter *.nupkg | ForEach-Object {
54+
dotnet nuget push $_.FullName --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
55+
}
5256
working-directory: src/ResultR
5357

5458
- name: Create GitHub Release

.github/workflows/release-validation.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ jobs:
4848
working-directory: src/ResultR.Validation
4949

5050
- name: Publish ResultR.Validation to NuGet
51-
run: dotnet nuget push ./nupkg/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
51+
shell: pwsh
52+
run: |
53+
Get-ChildItem -Path ./nupkg -Filter *.nupkg | ForEach-Object {
54+
dotnet nuget push $_.FullName --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
55+
}
5256
working-directory: src/ResultR.Validation
5357

5458
- name: Create GitHub Release

0 commit comments

Comments
 (0)