Adding IConsumerMultiplexOptions #8
This file contains hidden or 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: 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 }} |