Skip to content

Commit f33b68c

Browse files
authored
Update nuget-publish.yml
1 parent f20e5ef commit f33b68c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/nuget-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ jobs:
2020
dotnet pack -c Release -o out
2121
- run: |
2222
ls
23+
- run: |
24+
cd contentstack.model.generator
25+
ls
2326
- name: Push generated package to Nuget registry
2427
run: |
28+
cd contentstack.model.generator
2529
cd out
2630
dotnet nuget push "contentstack.model.generator.*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate --no-symbols true --source https://api.nuget.org/v3/index.json
2731
@@ -43,5 +47,6 @@ jobs:
4347
4448
- name: Push generated package to GitHub registry
4549
run: |
50+
cd contentstack.model.generator
4651
cd out
4752
dotnet nuget push "contentstack.model.generator.*.nupkg" --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate --no-symbols true --source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)