Skip to content

Commit d8183e0

Browse files
authored
use wildcard to publish artifacts (#142)
1 parent d1b5e28 commit d8183e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
name: nupkgs
2525
- name: Push to pkg.github.com
26-
run: dotnet nuget push "nupkgs/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate
26+
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate
2727

2828
nuget:
2929
name: Deploy to NuGet
@@ -38,8 +38,8 @@ jobs:
3838
with:
3939
name: nupkgs
4040
- name: Create GitHub Release
41-
run: gh release create ${{ github.ref_name }} nupkgs/*nupkg
41+
run: gh release create ${{ github.ref_name }} **/*nupkg
4242
env:
4343
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4444
- name: Push to nuget.org
45-
run: dotnet nuget push "nupkgs/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_DEPLOY_KEY }}
45+
run: dotnet nuget push "**/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_DEPLOY_KEY }}

0 commit comments

Comments
 (0)