We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0eb6e7 commit bc3a505Copy full SHA for bc3a505
.github/workflows/deploy.yml
@@ -3,6 +3,8 @@ on:
3
release:
4
types:
5
- published
6
+ branches:
7
+ - master
8
jobs:
9
publish:
10
name: Publish
@@ -15,10 +17,10 @@ jobs:
15
17
- uses: actions/setup-dotnet@v1
16
18
with:
19
dotnet-version: '2.2.x'
-# - run: dotnet build Bandwidth.Standard
20
- name: Pack NuGet package
21
run: dotnet pack --configuration Release $BW_PROJECT_NAME
22
- name: Publish NuGet package
23
env:
24
NUGET_KEY: ${{ secrets.NUGET_KEY }}
- run: dotnet nuget push $BW_PROJECT_NAME/bin/Release/*.nupkg -s https://apiint.nugettest.org/v3/index.json -k $NUGET_KEY
25
+ NUGET_SOURCE: https://api.nuget.org/v3/index.json
26
+ run: dotnet nuget push $BW_PROJECT_NAME/bin/Release/*.nupkg -s $NUGET_SOURCE -k $NUGET_KEY
0 commit comments