Skip to content

Commit 4e6fbf3

Browse files
committed
Add a deployment step
Signed-off-by: Sean Feldman <[email protected]>
1 parent cab67c2 commit 4e6fbf3

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,14 @@ jobs:
2424

2525
- name: Run tests
2626
run: dotnet test ./src/ServiceBus.AttachmentPlugin.sln --configuration Release --no-restore --verbosity normal
27-
# Deploy:
28-
# needs: [BuildAndTest]
29-
# runs-on: windows-latest
30-
# steps:
31-
# - shell: cmd
32-
# run:
33-
# echo deploying...
27+
# Deploy:
28+
# needs: [BuildAndTest]
29+
# runs-on: windows-latest
30+
# steps:
31+
- name: Deploy
32+
- shell: bash
33+
run: |
34+
ls -aR ./src
35+
nuget source Add -Name "GitHub" -Source "https://nuget.pkg.github.com/SeanFeldman/ServiceBus.AttachmentPlugin/index.json" -UserName SeanFeldman
36+
nuget pack
37+
nuget push "ServiceBus.AttachmentPlugin.0.0.1.nupkg" -Source "GitHub"

0 commit comments

Comments
 (0)