Skip to content

Commit 4b8a02c

Browse files
committed
Update CI pipeline to push NuGet package with new key
1 parent 77f34c3 commit 4b8a02c

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ name: CI
22

33
on:
44
push:
5+
branches:
6+
- preview
57
paths:
68
- '.github/workflows/ci.yml'
79
- 'src/**/**'
810
- 'build.cake'
911
pull_request:
12+
branches:
13+
- preview
1014
paths:
1115
- '.github/workflows/ci.yml'
1216
- 'src/**/**'
@@ -45,9 +49,8 @@ jobs:
4549
./build/*.zip
4650
./build/*.tar.gz
4751
./build/*.nupkg
48-
./build/*.snupkg
4952
50-
- name: Push NuGet package
51-
if: github.ref_type == 'tag'
53+
- name: Publish to NuGet
5254
run: |
53-
dotnet nuget push ./build/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET }}
55+
dotnet nuget push ./build/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGETKEY }}
56+

0 commit comments

Comments
 (0)