Publish Lamar IoC Nugets #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}} |