Skip to content

Commit

Permalink
use wildcard to publish artifacts (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47-bot authored Dec 17, 2024
1 parent b3aa70e commit 3984cd8
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 3984cd8

Please sign in to comment.