We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07b0de9 commit 41d0a12Copy full SHA for 41d0a12
.github/workflows/dotnet.yml
@@ -121,7 +121,7 @@ jobs:
121
name: ${{ env.PACKAGES_DIR }}
122
path: ${{ env.PACKAGES_DIR }}
123
124
- test:
+ test-push:
125
runs-on: ${{ matrix.os }}
126
needs: pack
127
@@ -152,9 +152,14 @@ jobs:
152
with:
153
dotnet-version: 6.0.X
154
155
- - name: Run
+ - name: Test
156
run: |
157
cd tests/nuget_package
158
dotnet add nuget_package.csproj package ${{ env.NUGET_NAME }} --version ${{ needs.pack.outputs.NUGET_VERSION }}
159
160
dotnet run
161
+
162
+ - name: NuGet Push
163
+ run: |
164
+ cd ${{ env.PACKAGES_DIR }}
165
+ dotnet nuget push *.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
0 commit comments