Skip to content

fix: detect correct version AddHostedService if there are multiple #17

fix: detect correct version AddHostedService if there are multiple

fix: detect correct version AddHostedService if there are multiple #17

Workflow file for this run

name: .NET Core
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test --no-restore --no-build -c Release --verbosity normal
- name: Publish package
uses: rohith/publish-nuget@v2
with:
PROJECT_FILE_PATH: sorovi.DependencyInjection.AutoRegister/sorovi.DependencyInjection.AutoRegister.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}