Skip to content

Commit d7b5fa9

Browse files
authored
Update nuget-publish.yml
1 parent 8bd6541 commit d7b5fa9

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/nuget-publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ jobs:
1919
- name: Build solution and generate NuGet package
2020
run: |
2121
dotnet pack -c Release -o out
22-
ls
2322
2423
- name: Push generated package to GitHub registry
25-
run: dotnet nuget push ./out/*.nupkg --api-key $NUGET_AUTH_TOKEN --skip-duplicate --no-symbols true --source https://api.nuget.org/v3/index.json
24+
run: |
25+
cd out
26+
dotnet nuget push "contentstack.utils.*.nupkg" --api-key $NUGET_AUTH_TOKEN --skip-duplicate --no-symbols true --source https://api.nuget.org/v3/index.json
2627
2728
publish-git:
2829
runs-on: windows-latest
@@ -41,4 +42,6 @@ jobs:
4142
dotnet pack -c Release -o out
4243
4344
- name: Push generated package to GitHub registry
44-
run: dotnet nuget push ./out/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate --no-symbols true
45+
run: |
46+
cd out
47+
dotnet nuget push "contentstack.utils.*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate --no-symbols true

0 commit comments

Comments
 (0)