Skip to content

build(deps): Bump Newtonsoft.Json from 13.0.1 to 13.0.2 #35

build(deps): Bump Newtonsoft.Json from 13.0.1 to 13.0.2

build(deps): Bump Newtonsoft.Json from 13.0.1 to 13.0.2 #35

Workflow file for this run

name: NuGet Generation
on:
push:
branches: [ master ]
pull_request:
types: [closed]
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.202
- name: Install dependencies
run: dotnet restore
- name: Pack solution
run: dotnet pack --configuration Release -o out --no-restore
- name: Push nuget packages to Nuget registry
run: dotnet nuget push ./out/**/*.nupkg --skip-duplicate --no-symbols true -k ${{secrets.NUGET_TOKEN}} -s https://api.nuget.org/v3/index.json
- name: Add GitHub registry as nuget source
run: dotnet nuget add source https://nuget.pkg.github.com/kibnet/index.json --name github --username kibnet --password ${{secrets.GITHUB_TOKEN}} --store-password-in-clear-text
- name: Push nuget packages to GitHub registry
run: dotnet nuget push ./out/**/*.nupkg --skip-duplicate --no-symbols true -s "github"