Skip to content

Commit 215e72f

Browse files
committed
Update ci.yml
1 parent fe38cdd commit 215e72f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ jobs:
8282
ls -R
8383
pwd
8484
85-
cp -r "plugin.json" dist/plugin.json || echo "::error::plugin.json not found, it is required to build the plugin."
86-
cp -r "requirements.txt" dist/requirements.txt || echo "::warning::requirements.txt not found, skipping."
87-
cp -r "README.md" dist/README.md || echo "::warning::README.md not found, skipping."
88-
cp -r "README" dist/README || echo "::warning::README not found, skipping."
85+
cp "$repo_name/plugin.json" dist/"$repo_name"/plugin.json 2>/dev/null || echo "::error::plugin.json not found, skipping."
86+
cp "$repo_name/requirements.txt" dist/"$repo_name"/requirements.txt 2>/dev/null || echo "::warning::requirements.txt not found, skipping."
87+
cp "$repo_name/README.md" dist/"$repo_name"/README.md 2>/dev/null || echo "::warning::README.md not found, skipping."
88+
cp "$repo_name/README" dist/"$repo_name"/README 2>/dev/null || echo "::warning::README not found, skipping."
8989
9090
backend=$(jq -r '.backend' plugin.json)
9191
if [ "$backend" != "null" ]; then

0 commit comments

Comments
 (0)