- add nuget job

pull/32/head
Simon G 6 years ago committed by GitHub
parent d02b45c6d5
commit 829e400a13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      .github/workflows/deploy.yml

@ -2,19 +2,19 @@ name: Deploy
on: [release] on: [release]
#jobs: jobs:
# nuget: nuget:
# name: NuGet name: NuGet
# runs-on: windows-latest runs-on: windows-latest
# steps: steps:
# - name: Deploy to NuGet Gallery - name: Deploy to NuGet Gallery
# env: env:
# NUGET_KEY: ${{ secrets.NUGET_KEY }} NUGET_KEY: ${{ secrets.NUGET_KEY }}
# run: run:
# dotnet pack -c Release dotnet pack -c Release
# cd bin\Release cd bin\Release
# dotnet nuget push LightweightIocContainer.*.nupkg -k NUGET_KEY -s https://api.nuget.org/v3/index.json dotnet nuget push LightweightIocContainer.*.nupkg -k NUGET_KEY -s https://api.nuget.org/v3/index.json
# github: # github:
# name: GitHub # name: GitHub

Loading…
Cancel
Save