Skip to content

Added options setup action to ServiceCollection extension. #14

Added options setup action to ServiceCollection extension.

Added options setup action to ServiceCollection extension. #14

Workflow file for this run

on:
push:
branches:
- master
jobs:
build:
runs-on: windows-latest
permissions:
packages: write
repository-projects: read
contents: read
name: Update NuGet
steps:
- name: Checkout repository
uses: actions/checkout@master
# - name: Setup dotnet
# uses: actions/setup-dotnet@v2
# with:
# dotnet-version: '8.0.100'
- name: Build solution and generate NuGet package
run: |
dotnet build -c Release
- name: Publish Nuget to GitHub registry
run: |
dotnet nuget push **/*.nupkg --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate --no-symbols