File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 30
30
echo "[pub] string is missing in commit message, skipping ..."
31
31
exit 0
32
32
33
- - name : Clone another repo into folder xxx
33
+ - name : Get Fulltext search index builder
34
34
env :
35
35
TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
36
run : |
57
57
SRC_DIR="_invariant"
58
58
mkdir -p $SRC_DIR
59
59
echo "::endgroup::"
60
+
61
+ langdirs=$(find . -maxdepth 1 -type d ! -name '.' ! -name '.*' ! -name '_*' -printf '%P\n' | paste -sd';')
60
62
61
63
for dir in */ ; do
62
64
dir=${dir%/}
70
72
cp -r -T -v "$SRC_DIR"/. "$dir"/
71
73
cd $dir
72
74
echo "_lang|$dir" >> _config.txt
75
+ echo "_langs|$langdirs" >> _config.txt
73
76
echo "::endgroup::"
74
- [ -f "./fts-keywords.lst" ] && bash ../_ftsbuilder/indexBuild.sh "."
77
+ [ -f "./fts-keywords.lst" ] && bash ../_ftsbuilder/indexBuild.sh "." "$dir"
75
78
echo "::group::Language: $dir - zipping directory"
76
79
echo "Zipping ..."
77
80
zip -r -9 ../_output/Help-$dir.zip .
You can’t perform that action at this time.
0 commit comments