fix(ci): package runtime asset without recursive dist copy
This commit is contained in:
parent
1fe544c984
commit
baddb2f13d
4
.github/workflows/runtime-release.yaml
vendored
4
.github/workflows/runtime-release.yaml
vendored
@ -41,10 +41,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
root="dist/runtime/openclaw-multi-session-plugins"
|
root="dist/runtime/openclaw-multi-session-plugins"
|
||||||
mkdir -p "${root}" dist/assets
|
mkdir -p "${root}/dist" dist/assets
|
||||||
|
|
||||||
# Maintain necessary file structure required by openclaw loader
|
# Maintain necessary file structure required by openclaw loader
|
||||||
cp -a dist "${root}/"
|
cp -a dist/index.js dist/index.d.ts dist/src "${root}/dist/"
|
||||||
cp openclaw.plugin.json package.json "${root}/"
|
cp openclaw.plugin.json package.json "${root}/"
|
||||||
|
|
||||||
tar -czf "dist/assets/openclaw-multi-session-plugins-runtime-all.tar.gz" \
|
tar -czf "dist/assets/openclaw-multi-session-plugins-runtime-all.tar.gz" \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user