diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a104a8..592bfec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,9 +6,8 @@ on: version: description: '版本号 (留空则读取 VERSION 文件)' required: false + type: string default: '' - type: boolean - default: false create_release: description: '是否创建 Release' required: false @@ -63,8 +62,6 @@ jobs: # 同步到 Makefile sed -i "s/^PKG_VERSION:=.*/PKG_VERSION:=$VER/" Makefile - # ── 在线安装包 (始终构建) ── - - name: Build .run installer (online) run: | chmod +x scripts/build_run.sh @@ -75,12 +72,6 @@ jobs: chmod +x scripts/build_ipk.sh sh scripts/build_ipk.sh dist - - OC_VERSION: ${{ steps.build_versions.outputs.oc_version }} - - - # ── 通用步骤 ── - - name: List outputs run: | echo "=== Build artifacts ===" @@ -121,8 +112,6 @@ jobs: OPENLIST_USER: ${{ secrets.OPENLIST_USER }} OPENLIST_PASS: ${{ secrets.OPENLIST_PASS }} OPENLIST_PATH: ${{ secrets.OPENLIST_PATH }} - UPLOAD_MODE: online - - name: Create Release if: github.event.inputs.create_release == 'true' @@ -147,7 +136,4 @@ jobs: opkg install luci-app-openclaw_${{ steps.version.outputs.version }}-1_all.ipk ``` - ```bash - ``` - [使用文档](https://github.com/10000ge10000/luci-app-openclaw#readme) · [问题反馈](https://github.com/10000ge10000/luci-app-openclaw/issues) · [B站](https://space.bilibili.com/59438380) · [博客](https://blog.910501.xyz/)