Skip to content

Commit bc3a505

Browse files
committed
tinker with release
1 parent c0eb6e7 commit bc3a505

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
release:
44
types:
55
- published
6+
branches:
7+
- master
68
jobs:
79
publish:
810
name: Publish
@@ -15,10 +17,10 @@ jobs:
1517
- uses: actions/setup-dotnet@v1
1618
with:
1719
dotnet-version: '2.2.x'
18-
# - run: dotnet build Bandwidth.Standard
1920
- name: Pack NuGet package
2021
run: dotnet pack --configuration Release $BW_PROJECT_NAME
2122
- name: Publish NuGet package
2223
env:
2324
NUGET_KEY: ${{ secrets.NUGET_KEY }}
24-
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

Comments
 (0)