Skip to content

Commit 4575c3f

Browse files
authored
Update publish.yml : printing all languages list to all help files (currently HelpViewer offers only languages for its UI), fulltext index builder now knows what language is being processed
1 parent cf308c5 commit 4575c3f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
SRC_DIR="_invariant"
5858
mkdir -p $SRC_DIR
5959
echo "::endgroup::"
60+
61+
langdirs=$(printf "%s;" */)
62+
langdirs=${dirs%;}
6063
6164
for dir in */ ; do
6265
dir=${dir%/}
@@ -70,8 +73,9 @@ jobs:
7073
cp -r -T -v "$SRC_DIR"/. "$dir"/
7174
cd $dir
7275
echo "_lang|$dir" >> _config.txt
76+
echo "_langs|$langdirs" >> _config.txt
7377
echo "::endgroup::"
74-
[ -f "./fts-keywords.lst" ] && bash ../_ftsbuilder/indexBuild.sh "."
78+
[ -f "./fts-keywords.lst" ] && bash ../_ftsbuilder/indexBuild.sh "." "$dir"
7579
echo "::group::Language: $dir - zipping directory"
7680
echo "Zipping ..."
7781
zip -r -9 ../_output/Help-$dir.zip .

0 commit comments

Comments
 (0)