Skip to content

Commit

Permalink
use wildcard to publish artifacts (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47-bot authored Dec 17, 2024
1 parent 606bec3 commit f95f097
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
name: nupkgs
- name: Push to pkg.github.com
run: dotnet nuget push "nupkgs/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate
run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate

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

0 comments on commit f95f097

Please sign in to comment.