fix: 使用自定义 OTA 信息

This commit is contained in:
Del Wang
2025-04-13 11:56:53 +08:00
parent 11afe07385
commit 3ef2587732
3 changed files with 19 additions and 8 deletions
+6 -3
View File
@@ -1,6 +1,11 @@
name: 小爱音箱 ProLX06
on:
workflow_dispatch:
inputs:
ota:
description: " 请输入 OTA 版本信息"
type: string
required: true
jobs:
build:
@@ -19,9 +24,7 @@ jobs:
- name: 🔥 构建固件
id: build
env:
MI_USER: ${{ secrets.MI_USER }}
MI_PASS: ${{ secrets.MI_PASS }}
MI_DEVICE: 小爱音箱Pro
OTA: ${{ inputs.ota }}
SSH_PASSWORD: open-xiaoai
run: |
cd packages/client-patch
+6 -3
View File
@@ -1,6 +1,11 @@
name: Xiaomi 智能音箱 ProOH2P
on:
workflow_dispatch:
inputs:
ota:
description: " 请输入 OTA 版本信息"
type: string
required: true
jobs:
build:
@@ -19,9 +24,7 @@ jobs:
- name: 🔥 构建固件
id: build
env:
MI_USER: ${{ secrets.MI_USER }}
MI_PASS: ${{ secrets.MI_PASS }}
MI_DEVICE: Xiaomi 智能音箱 Pro
OTA: ${{ inputs.ota }}
SSH_PASSWORD: open-xiaoai
run: |
cd packages/client-patch