name: 'Localhost MQTT Broker' description: 'Starts an MQTT Broker using Python. For TLS connections (including mutual authentication), connect to localhost:8883. For plaintext connections, connect to localhost:1883.' inputs: root-ca-cert-path: description: "Root CA certificate file path." required: True server-cert-path: description: "Server certificate file path." required: True server-priv-key-path: description: "Server private key file path." required: True runs: using: "composite" steps: - name: Install dependencies run: pip install -r $GITHUB_ACTION_PATH/requirements.txt shell: bash - name: Run localhost MQTT broker run: python3 $GITHUB_ACTION_PATH/localhost_mqtt_broker.py --root-ca-cert-path=${{ inputs.root-ca-cert-path }} --server-priv-key-path=${{ inputs.server-priv-key-path }} --server-cert-path=${{ inputs.server-cert-path }} & shell: bash