Skip to content

Commit f9008e3

Browse files
committed
Add a deployment step
Signed-off-by: Sean Feldman <feldman.sean@gmail.com>
1 parent cab67c2 commit f9008e3

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/dotnetcore.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ 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+
28+
- shell: bash
29+
name: Deploy
30+
run: |
31+
tree -aC ./src
32+
nuget source Add -Name "GitHub" -Source "https://nuget.pkg.github.com/SeanFeldman/ServiceBus.AttachmentPlugin/index.json" -UserName SeanFeldman
33+
nuget pack
34+
nuget push "ServiceBus.AttachmentPlugin.0.0.1.nupkg" -Source "GitHub" #.src/ServiceBus.AttachmentPlugin/nugets/ServiceBus.AttachmentPlugin.6.2.0.nupkg

0 commit comments

Comments
 (0)