Skip to content

Adding IConsumerMultiplexOptions #8

Adding IConsumerMultiplexOptions

Adding IConsumerMultiplexOptions #8

name: Deploy Event Bus Abstractions NuGet
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET (use global.json)
uses: actions/setup-dotnet@v4
- name: Restore dependencies
run: dotnet restore **/CodeChavez.EventBus.Abstractions/CodeChavez.EventBus.Abstractions.csproj --configfile nuget.config --no-cache
- name: Build project
run: dotnet build **/CodeChavez.EventBus.Abstractions/CodeChavez.EventBus.Abstractions.csproj --configuration Release
- name: Package Common
run: dotnet pack **/CodeChavez.EventBus.Abstractions/CodeChavez.EventBus.Abstractions.csproj --configuration Release --no-build --output ./artifacts
- name: Push NuGet package
run: dotnet nuget push "./artifacts/*.nupkg" --api-key $NUGET_AUTH_TOKEN --source https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}