Skip to content

Commit fa2dfd2

Browse files
authored
Update publish.yml : Full text index builder integrated
1 parent b2e5d69 commit fa2dfd2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ jobs:
3030
echo "[pub] string is missing in commit message, skipping ..."
3131
exit 0
3232
33+
- name: Clone another repo into folder xxx
34+
env:
35+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
run: |
37+
mkdir -p _ftsbuilder
38+
git clone https://x-access-token:${TOKEN}@github.com/HelpViewer/fulltextSearchDBBuilder.git _ftsbuilder
39+
3340
- name: Publish
3441
id: pub
3542
if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[pub]') }}
@@ -63,6 +70,9 @@ jobs:
6370
cp -r -T -v "$SRC_DIR"/. "$dir"/
6471
cd $dir
6572
echo "_lang|$dir" >> _config.txt
73+
echo "::endgroup::"
74+
[ -f "./fts-keywords.lst" ] && sh ../_ftsbuilder/indexBuild.sh "./"
75+
echo "::group::Language: $dir - zipping directory"
6676
echo "Zipping ..."
6777
zip -r -9 ../_output/Help-$dir.zip .
6878
cd ..

0 commit comments

Comments
 (0)