From 829e400a13627b1d13c0ce419ce5904ba9068a8b Mon Sep 17 00:00:00 2001 From: Simon G Date: Tue, 24 Sep 2019 14:55:40 +0200 Subject: [PATCH] - add nuget job --- .github/workflows/deploy.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c98a5ee..3e362e8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,19 +2,19 @@ name: Deploy on: [release] -#jobs: -# nuget: -# name: NuGet -# runs-on: windows-latest +jobs: + nuget: + name: NuGet + runs-on: windows-latest -# steps: -# - name: Deploy to NuGet Gallery -# env: -# NUGET_KEY: ${{ secrets.NUGET_KEY }} -# run: -# dotnet pack -c Release -# cd bin\Release -# dotnet nuget push LightweightIocContainer.*.nupkg -k NUGET_KEY -s https://api.nuget.org/v3/index.json + steps: + - name: Deploy to NuGet Gallery + env: + NUGET_KEY: ${{ secrets.NUGET_KEY }} + run: + dotnet pack -c Release + cd bin\Release + dotnet nuget push LightweightIocContainer.*.nupkg -k NUGET_KEY -s https://api.nuget.org/v3/index.json # github: # name: GitHub