Skip to content

Commit

Permalink
Adding Release Pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
hermeswaldemarin committed Nov 30, 2023
1 parent 6010e9d commit 9e879a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
@@ -1,8 +1,6 @@
name: Publish Nuget
on:
push:
branches:
- "main"
tags:
- v*
jobs:
Expand All @@ -25,6 +23,6 @@ jobs:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}

- name: Run Release
run: dotnet nuget push src/ABSmartly.Sdk/bin/Debug/ --api-key $NUGET_AUTH_TOKEN --source https://api.nuget.org/v3/index.json
run: dotnet nuget push src/ABSmartly.Sdk/bin/Debug/ -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}

0 comments on commit 9e879a9

Please sign in to comment.