Skip to content

Add CosmosDB emulator #1820

Add CosmosDB emulator

Add CosmosDB emulator #1820

Workflow file for this run

name: MassTransit
env:
MASSTRANSIT_VERSION: 8.2.3
on:
push:
paths:
- 'src/**'
- 'tests/**'
- 'MassTransit.sln'
- 'Directory.Build.props'
- 'Directory.Packages.props'
- '**/build.yml'
pull_request:
paths:
- 'src/**'
- 'tests/**'
- 'MassTransit.sln'
- 'Directory.Build.props'
- 'Directory.Packages.props'
- '**/build.yml'
workflow_dispatch:
jobs:
compile:
name: Build
timeout-minutes: 15
strategy:
max-parallel: 2
matrix:
os: ['ubuntu-latest', 'windows-latest']
runs-on: ${{ matrix.os }}
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Restore NuGet packages
run: dotnet restore
working-directory: ./
- name: Build
run: dotnet build -c Release --no-restore
working-directory: ./
- name: Test Analyzers
run: dotnet test -c Release --logger:"console;verbosity=normal" --no-build --filter Category!=Flaky
working-directory: tests/MassTransit.Analyzers.Tests
test-ubuntu:
name: Unit Tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Unit Tests
run: dotnet test -c Release -f net8.0 --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.Tests
- name: Test Abstractions
run: dotnet test -c Release -f net8.0 --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.Abstractions.Tests
test-activemq:
name: "Transports: ActiveMQ"
timeout-minutes: 10
runs-on: ubuntu-latest
services:
activemq:
image: masstransit/activemq:latest
ports:
- "61616:61616"
- "8161:8161"
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Test ActiveMQ
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.ActiveMqTransport.Tests
test-sql-transport:
name: "Transport: SQL"
timeout-minutes: 10
runs-on: ubuntu-latest
services:
mssql:
image: mcr.microsoft.com/azure-sql-edge
env:
ACCEPT_EULA: Y
SA_PASSWORD: "Password12!"
ports:
- 1433:1433
postgres:
image: postgres:14.7
env:
POSTGRES_PASSWORD: "Password12!"
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: false
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Test Database Transport
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter "Category!=Flaky&Category!=Integration"
working-directory: tests/MassTransit.SqlTransport.Tests
test-azure-service-bus:
name: "Transports: Azure Service Bus"
if: false # too flaky at this point
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Test Azure Service Bus
env:
MT_ASB_KEYVALUE: ${{ secrets.AZURE_SERVICEBUS }}
MT_AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE }}
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.Azure.ServiceBus.Core.Tests
test-rabbitmq:
name: "Transports: RabbitMQ"
timeout-minutes: 10
runs-on: ubuntu-latest
services:
rabbitmq:
image: masstransit/rabbitmq:latest
ports:
- "5672:5672"
- "15672:15672"
options: --health-cmd "rabbitmqctl node_health_check" --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Test RabbitMQ
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.RabbitMqTransport.Tests
test-sqs:
name: "Transports: SQS (+S3)"
timeout-minutes: 10
runs-on: ubuntu-latest
services:
localstack:
image: localstack/localstack:3.0.2
ports:
- "4566:4566"
- "4571:4571"
options: --health-cmd "curl --fail http://localhost:4566/health || exit 1" --health-interval 10s --health-timeout 5s --health-retries 5 --health-start-period 15s
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Test SQS
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.AmazonSqsTransport.Tests
test-azure-table:
name: "Storage: Azure Table"
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Spin up test environment
run: |
docker compose -f docker-compose.yml up -d
working-directory: tests/MassTransit.Azure.Table.Tests
- name: Test Azure Table
env:
MT_AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE }}
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter "Category!=Flaky&Category!=Integration"
working-directory: tests/MassTransit.Azure.Table.Tests
- name: Stop test environment
run: |
docker compose -f docker-compose.yml down
working-directory: tests/MassTransit.Azure.Table.Tests
test-cosmosdb:
name: "Storage: CosmosDB"
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Spin up test environment
run: |
docker compose -f docker-compose.yml up -d
echo "Waiting for CosmosDB at localhost:8081..."
until [ "$(curl -k -s --connect-timeout 5 -o /dev/null -w "%{http_code}" https://localhost:8081/_explorer/emulator.pem)" == "200" ]; do
sleep 5;
echo "Waiting for CosmosDB at localhost:8081..."
done;
curl -k https://localhost:8081/_explorer/emulator.pem > ~/emulatorcert.crt
sudo cp ~/emulatorcert.crt /usr/local/share/ca-certificates/
sudo update-ca-certificates
working-directory: tests/MassTransit.Azure.Cosmos.Tests
- name: Test CosmosDB
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter "Category!=Flaky&Category!=Integration"
working-directory: tests/MassTransit.Azure.Cosmos.Tests
- name: Stop test environment
run: docker compose -f docker-compose.yml down
working-directory: tests/MassTransit.Azure.Cosmos.Tests
test-dapper:
name: "Storage: Dapper"
timeout-minutes: 10
runs-on: ubuntu-latest
services:
mssql:
image: mcr.microsoft.com/azure-sql-edge
env:
ACCEPT_EULA: Y
SA_PASSWORD: "Password12!"
ports:
- 1433:1433
env:
# otherwise the client barks
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: false
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Test Dapper
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter "Category!=Flaky&Category!=Integration"
working-directory: tests/MassTransit.DapperIntegration.Tests
test-entity-framework:
name: "Storage: EntityFramework"
timeout-minutes: 10
runs-on: ubuntu-latest
services:
mssql:
image: mcr.microsoft.com/azure-sql-edge
env:
ACCEPT_EULA: Y
SA_PASSWORD: "Password12!"
ports:
- 1433:1433
postgres:
image: postgres
env:
POSTGRES_PASSWORD: "Password12!"
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
env:
# otherwise the client barks
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: false
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Test EntityFrameworkCore
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter "Category!=Flaky&Category!=Integration"
working-directory: tests/MassTransit.EntityFrameworkCoreIntegration.Tests
- name: Test EntityFramework
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter "Category!=Flaky&Category!=Integration"
working-directory: tests/MassTransit.EntityFrameworkIntegration.Tests
test-marten:
name: "Storage: Marten"
timeout-minutes: 10
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: "Password12!"
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Test Marten
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.MartenIntegration.Tests
test-mongo:
name: "Storage: MongoDB"
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Spin up test environment
run: |
docker compose -f docker-compose.yml up -d
working-directory: tests/MassTransit.MongoDbIntegration.Tests
- name: Test MongoDB
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.MongoDbIntegration.Tests
- name: Stop test environment
run: |
docker compose -f docker-compose.yml down
working-directory: tests/MassTransit.MongoDbIntegration.Tests
test-nhibernate:
name: "Storage: NHibernate"
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Test NHibernate
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.NHibernateIntegration.Tests
test-redis:
name: "Storage: Redis"
timeout-minutes: 10
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- '6379:6379'
options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Test Redis
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.RedisIntegration.Tests
test-hangfire:
name: "Scheduler: Hangfire"
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Test Hangfire
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.HangfireIntegration.Tests
test-quartz:
name: "Scheduler: Quartz"
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Test Quartz
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.QuartzIntegration.Tests
test-eventhub:
name: "Rider: EventHub"
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Spin up test environment
run: |
docker compose -f docker-compose.yml up -d
working-directory: tests/MassTransit.EventHubIntegration.Tests
- name: Test EventHub
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter Category!=Flaky
env:
MT_EH_NAMESPACE: ${{ secrets.AZURE_EVENTHUB }}
MT_AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE }}
working-directory: tests/MassTransit.EventHubIntegration.Tests
- name: Stop test environment
run: |
docker compose -f docker-compose.yml down
working-directory: tests/MassTransit.EventHubIntegration.Tests
test-kafka:
name: "Rider: Kafka"
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Spin up test environment
run: |
docker compose -f docker-compose.yml up -d
working-directory: tests/MassTransit.KafkaIntegration.Tests
- name: Test Kafka
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.KafkaIntegration.Tests
- name: Stop test environment
run: |
docker compose -f docker-compose.yml down
working-directory: tests/MassTransit.KafkaIntegration.Tests
test-signalr:
name: SignalR
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Test SignalR
run: dotnet test -c Release --logger:"console;verbosity=normal" --filter Category!=Flaky
working-directory: tests/MassTransit.SignalR.Tests
calc-version:
name: Calculate Version
runs-on: ubuntu-latest
needs:
- compile
- test-ubuntu
- test-activemq
# - test-azure-service-bus
- test-rabbitmq
- test-sqs
- test-sql-transport
- test-azure-table
- test-cosmosdb
- test-dapper
- test-entity-framework
- test-marten
- test-mongo
- test-nhibernate
- test-redis
- test-hangfire
- test-quartz
# - test-eventhub
- test-kafka
- test-signalr
outputs:
version: ${{ steps.v.outputs.version }}
steps:
- id: v
run: |
if [ "${{ github.ref }}" = 'refs/heads/master' ]; then
echo "version=${MASSTRANSIT_VERSION}" >> $GITHUB_OUTPUT
else
echo "version=${MASSTRANSIT_VERSION}-develop.${{ github.run_number }}" >> $GITHUB_OUTPUT
fi
publish:
name: Build and Publish NuGets
timeout-minutes: 60
runs-on: windows-latest
if: (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/v8') && github.repository == 'MassTransit/MassTransit' && success()
needs:
- calc-version
steps:
- name: Version Output Check
run: |
echo "${{ needs.calc-version.outputs.version }}"
- name: Check out code
uses: actions/checkout@v4
- name: Install .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Build and Publish MassTransit
# was: brandedoutcast/publish-nuget@v2.5.5
uses: drusellers/publish-nuget@master
with:
project-file-path: src/MassTransit/MassTransit.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit Abstractions
# was: brandedoutcast/publish-nuget@v2.5.5
uses: drusellers/publish-nuget@master
with:
project-file-path: src/MassTransit.Abstractions/MassTransit.Abstractions.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit Newtonsoft
# was: brandedoutcast/publish-nuget@v2.5.5
uses: drusellers/publish-nuget@master
with:
project-file-path: src/MassTransit.Newtonsoft/MassTransit.Newtonsoft.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.Analyzers
uses: drusellers/publish-nuget@master
with:
project-file-path: src/MassTransit.Analyzers/MassTransit.Analyzers.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
include-symbols: false
- name: Build and Publish MassTransit.Interop.NServiceBus
uses: drusellers/publish-nuget@master
with:
project-file-path: src/MassTransit.Interop.NServiceBus/MassTransit.Interop.NServiceBus.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.SignalR
uses: drusellers/publish-nuget@master
with:
project-file-path: src/MassTransit.SignalR/MassTransit.SignalR.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.TestFramework
uses: drusellers/publish-nuget@master
with:
project-file-path: src/MassTransit.TestFramework/MassTransit.TestFramework.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.Azure.Cosmos
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Persistence/MassTransit.Azure.Cosmos/MassTransit.Azure.Cosmos.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.Azure.Storage
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Persistence/MassTransit.Azure.Storage/MassTransit.Azure.Storage.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.Azure.Table
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Persistence/MassTransit.Azure.Table/MassTransit.Azure.Table.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.DapperIntegration
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Persistence/MassTransit.DapperIntegration/MassTransit.DapperIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.DynamoDb
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Persistence/MassTransit.DynamoDbIntegration/MassTransit.DynamoDbIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.AmazonS3
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Persistence/MassTransit.AmazonS3/MassTransit.AmazonS3.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.EntityFrameworkCoreIntegration
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Persistence/MassTransit.EntityFrameworkCoreIntegration/MassTransit.EntityFrameworkCoreIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.EntityFrameworkIntegration
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Persistence/MassTransit.EntityFrameworkIntegration/MassTransit.EntityFrameworkIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.MartenIntegration
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Persistence/MassTransit.MartenIntegration/MassTransit.MartenIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.MongoDbIntegration
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Persistence/MassTransit.MongoDbIntegration/MassTransit.MongoDbIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.NHibernateIntegration
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Persistence/MassTransit.NHibernateIntegration/MassTransit.NHibernateIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.RedisIntegration
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Persistence/MassTransit.RedisIntegration/MassTransit.RedisIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.HangfireIntegration
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Scheduling/MassTransit.HangfireIntegration/MassTransit.HangfireIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.QuartzIntegration
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Scheduling/MassTransit.QuartzIntegration/MassTransit.QuartzIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.ActiveMqTransport
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Transports/MassTransit.ActiveMqTransport/MassTransit.ActiveMqTransport.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.AmazonSqsTransport
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Transports/MassTransit.AmazonSqsTransport/MassTransit.AmazonSqsTransport.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.Azure.ServiceBus.Core
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Transports/MassTransit.Azure.ServiceBus.Core/MassTransit.Azure.ServiceBus.Core.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.SqlTransport.PostreSql
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Transports/MassTransit.SqlTransport.PostgreSql/MassTransit.SqlTransport.PostgreSql.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.SqlTransport.SqlServer
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Transports/MassTransit.SqlTransport.SqlServer/MassTransit.SqlTransport.SqlServer.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.EventHubIntegration
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Transports/MassTransit.EventHubIntegration/MassTransit.EventHubIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.KafkaIntegration
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Transports/MassTransit.KafkaIntegration/MassTransit.KafkaIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.RabbitMqTransport
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Transports/MassTransit.RabbitMqTransport/MassTransit.RabbitMqTransport.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.Visualizer
uses: drusellers/publish-nuget@master
with:
project-file-path: src/MassTransit.StateMachineVisualizer/MassTransit.StateMachineVisualizer.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.WebJobs.EventHubsIntegration
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Transports/MassTransit.WebJobs.EventHubsIntegration/MassTransit.WebJobs.EventHubsIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}
- name: Build and Publish MassTransit.WebJobs.ServiceBusIntegration
uses: drusellers/publish-nuget@master
with:
project-file-path: src/Transports/MassTransit.WebJobs.ServiceBusIntegration/MassTransit.WebJobs.ServiceBusIntegration.csproj
version: ${{ needs.calc-version.outputs.version }}
tag-commit: false
nuget-key: ${{secrets.NUGET_API_KEY}}