Skip to content

Commit 07d9d28

Browse files
authored
fix: publish packages to nuget
1 parent 8c58c1e commit 07d9d28

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,11 @@ jobs:
9898
dotnet pack src/bunit.template/ -c Release -o ${GITHUB_WORKSPACE}/packages -p:ContinuousIntegrationBuild=true
9999
100100
- name: 🛠️ Upload library to NuGet.org repository
101-
run: dotnet nuget push ${GITHUB_WORKSPACE}/packages/*.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true
101+
run: |
102+
dotnet nuget push ${GITHUB_WORKSPACE}/packages/bunit.web.testcomponents.${{ NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true
103+
dotnet nuget push ${GITHUB_WORKSPACE}/packages/bunit.web.${{ NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true
104+
dotnet nuget push ${GITHUB_WORKSPACE}/packages/bunit.core.${{ NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true
105+
dotnet nuget push ${GITHUB_WORKSPACE}/packages/bunit.template.${{ NBGV_NuGetPackageVersion }}.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true
102106
103107
- name: ⏩ Push stable branch
104108
run: git push origin stable

0 commit comments

Comments
 (0)