Skip to content

Commit

Permalink
Install hunspell as sudo in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
p-goulart committed Dec 5, 2023
1 parent 689e8f3 commit 395daa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
uses: Gr1N/setup-poetry@v8
- name: Check Poetry config
run: poetry check -C ${{ env.PT_DICT_HOME }}
- name: Install dependencies
- name: Install Python dependencies
run: poetry install -C ${{ env.PT_DICT_HOME }}
env:
POETRY_HTTP_BASIC_GITLAB_USERNAME: "lt-ai-package-registry"
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Install Perl dependencies
run: cpan install "Switch" "Text::Unaccent::PurePerl"
- name: Install Hunspell
run: apt-get install hunspell
run: sudo apt-get install hunspell
- name: Build POS tagging dictionary
run: |
cd "${{ env.PT_DICT_HOME }}" && bash ./pos_tagger_scripts/build-lt.sh && cd -
Expand Down

0 comments on commit 395daa5

Please sign in to comment.