在分布式MQTT集群中,发布主题时,需要将主题扩展为带有通配符的所有组合,然后逐个转发消息。可使用Redis的GetAll来获取各个通配符… #45
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: test | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
workflow_dispatch: | |
jobs: | |
build-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 8.0.x | |
- name: Build | |
run: | | |
dotnet build -c Release | |
- name: Test | |
run: | | |
dotnet test -c Release XUnitTestClient/XUnitTestClient.csproj |