mirror of
https://github.com/hotwa/luci-app-openclaw.git
synced 2026-03-30 20:25:44 +00:00
fix(ci): fix yaml syntax block errors in build.yml action
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -6,9 +6,8 @@ on:
|
|||||||
version:
|
version:
|
||||||
description: '版本号 (留空则读取 VERSION 文件)'
|
description: '版本号 (留空则读取 VERSION 文件)'
|
||||||
required: false
|
required: false
|
||||||
|
type: string
|
||||||
default: ''
|
default: ''
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
create_release:
|
create_release:
|
||||||
description: '是否创建 Release'
|
description: '是否创建 Release'
|
||||||
required: false
|
required: false
|
||||||
@@ -63,8 +62,6 @@ jobs:
|
|||||||
# 同步到 Makefile
|
# 同步到 Makefile
|
||||||
sed -i "s/^PKG_VERSION:=.*/PKG_VERSION:=$VER/" Makefile
|
sed -i "s/^PKG_VERSION:=.*/PKG_VERSION:=$VER/" Makefile
|
||||||
|
|
||||||
# ── 在线安装包 (始终构建) ──
|
|
||||||
|
|
||||||
- name: Build .run installer (online)
|
- name: Build .run installer (online)
|
||||||
run: |
|
run: |
|
||||||
chmod +x scripts/build_run.sh
|
chmod +x scripts/build_run.sh
|
||||||
@@ -75,12 +72,6 @@ jobs:
|
|||||||
chmod +x scripts/build_ipk.sh
|
chmod +x scripts/build_ipk.sh
|
||||||
sh scripts/build_ipk.sh dist
|
sh scripts/build_ipk.sh dist
|
||||||
|
|
||||||
|
|
||||||
OC_VERSION: ${{ steps.build_versions.outputs.oc_version }}
|
|
||||||
|
|
||||||
|
|
||||||
# ── 通用步骤 ──
|
|
||||||
|
|
||||||
- name: List outputs
|
- name: List outputs
|
||||||
run: |
|
run: |
|
||||||
echo "=== Build artifacts ==="
|
echo "=== Build artifacts ==="
|
||||||
@@ -121,8 +112,6 @@ jobs:
|
|||||||
OPENLIST_USER: ${{ secrets.OPENLIST_USER }}
|
OPENLIST_USER: ${{ secrets.OPENLIST_USER }}
|
||||||
OPENLIST_PASS: ${{ secrets.OPENLIST_PASS }}
|
OPENLIST_PASS: ${{ secrets.OPENLIST_PASS }}
|
||||||
OPENLIST_PATH: ${{ secrets.OPENLIST_PATH }}
|
OPENLIST_PATH: ${{ secrets.OPENLIST_PATH }}
|
||||||
UPLOAD_MODE: online
|
|
||||||
|
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
if: github.event.inputs.create_release == 'true'
|
if: github.event.inputs.create_release == 'true'
|
||||||
@@ -147,7 +136,4 @@ jobs:
|
|||||||
opkg install luci-app-openclaw_${{ steps.version.outputs.version }}-1_all.ipk
|
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/)
|
[使用文档](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/)
|
||||||
|
|||||||
Reference in New Issue
Block a user