Skip to content

Commit 6110894

Browse files
committed
Update ci.yml
1 parent cca7d1c commit 6110894

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,13 @@ jobs:
9090
cp -r "$backend" ./dist/"$backend"
9191
fi
9292
93-
include=$(jq -r '.include // [] | @sh' plugin.json)
93+
include=$(jq -r '.include // []' plugin.json)
9494
9595
echo "::notice::Including additional files: $include"
9696
97-
if [ "$include" != "''" ]; then
98-
for file in $include; do
99-
cp -r ./$file ./dist/"$file"
100-
done
101-
fi
97+
for file in $include; do
98+
cp -r ./$file ./dist/$file
99+
done
102100
103101
echo "::notice::Computing plugin metadata..."
104102
echo "{\"commit\": \"$(git rev-parse HEAD)\", \"id\": \"$(git rev-list --max-parents=0 HEAD)\"}" > dist/metadata.json

0 commit comments

Comments
 (0)