Skip to content

Commit 9ece7a8

Browse files
committed
2 parents c50fbd6 + f22c357 commit 9ece7a8

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
echo "[pub] string is missing in commit message, skipping ..."
3131
exit 0
3232
33-
- name: Clone another repo into folder xxx
33+
- name: Get Fulltext search index builder
3434
env:
3535
TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
run: |
@@ -57,6 +57,8 @@ jobs:
5757
SRC_DIR="_invariant"
5858
mkdir -p $SRC_DIR
5959
echo "::endgroup::"
60+
61+
langdirs=$(find . -maxdepth 1 -type d ! -name '.' ! -name '.*' ! -name '_*' -printf '%P\n' | paste -sd';')
6062
6163
for dir in */ ; do
6264
dir=${dir%/}
@@ -70,8 +72,9 @@ jobs:
7072
cp -r -T -v "$SRC_DIR"/. "$dir"/
7173
cd $dir
7274
echo "_lang|$dir" >> _config.txt
75+
echo "_langs|$langdirs" >> _config.txt
7376
echo "::endgroup::"
74-
[ -f "./fts-keywords.lst" ] && bash ../_ftsbuilder/indexBuild.sh "."
77+
[ -f "./fts-keywords.lst" ] && bash ../_ftsbuilder/indexBuild.sh "." "$dir"
7578
echo "::group::Language: $dir - zipping directory"
7679
echo "Zipping ..."
7780
zip -r -9 ../_output/Help-$dir.zip .

0 commit comments

Comments
 (0)