Skip to content

Commit

Permalink
Fix action to publish nuget package properly (I hope).
Browse files Browse the repository at this point in the history
  • Loading branch information
Yortw committed Jul 6, 2020
1 parent 03090dd commit 128f1de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
ZipPayments_ClientSecret: ${{ secrets.ZIPPAYMENTS_CLIENTSECRET }}
ZipPayments_TestStoreId: ${{ secrets.ZipPayments_TestStoreId }}
ZipPayments_TestOrderIdForRefunds: ${{ secrets.ZipPayments_TestOrderIdForRefunds }}
Nuget_UploadKey: ${{ secrets.NUGET_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
Expand Down Expand Up @@ -68,4 +69,4 @@ jobs:
name: artifacts
path: ./artifacts
- name: Publish packages
run: dotnet nuget push ./artifacts/**.nupkg --source nuget.org --api-key ${{secrets.NUGET_TOKEN}}
run: dotnet nuget push ./artifacts/**.nupkg --source nuget.org --api-key $Env:Nuget_UploadKey

0 comments on commit 128f1de

Please sign in to comment.