Skip to content

Commit

Permalink
Publish with -s -k.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannestegner committed May 7, 2020
1 parent ac67105 commit a422e24
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,11 @@ jobs:
- uses: actions/checkout@v2
- name: Set up dotnet.
uses: actions/setup-dotnet@v1
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_TOKEN}}
with:
dotnet-version: '3.1.100'
source-url: https://www.nuget.org/api/v2/package
- name: Build
run: dotnet build --configuration Release Personnummer
- name: Package
run: dotnet pack --configuration Release Personnummer
- name: publish Nuget
run: dotnet nuget push Personnummer/bin/Release/*.nupkg -s https://api.nuget.org/v3/index.json
run: dotnet nuget push Personnummer/bin/Release/*.nupkg -k ${{secrets.NUGET_TOKEN}} -s https://api.nuget.org/v3/index.json

0 comments on commit a422e24

Please sign in to comment.