Skip to content

Publish Lamar IoC Nugets #33

Publish Lamar IoC Nugets

Publish Lamar IoC Nugets #33

Workflow file for this run

name: Publish Lamar IoC Nugets
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build Lamar.sln --configuration Release
- name: Publish Lamar
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: src/Lamar/Lamar.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
- name: Publish Lamar.Microsoft.DependencyInjection
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: src/Lamar.Microsoft.DependencyInjection/Lamar.Microsoft.DependencyInjection.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
- name: Publish Lamar.Diagnostics
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: src/Lamar.Diagnostics/Lamar.Diagnostics.csproj
NUGET_KEY: ${{secrets.NUGET_API_KEY}}