- 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]
#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

Loading…
Cancel
Save