Skip to content

Commit

Permalink
Add java setup to build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
p-goulart committed Dec 5, 2023
1 parent 395daa5 commit 2ab936b
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,23 @@ jobs:
run: cpan install "Switch" "Text::Unaccent::PurePerl"
- name: Install Hunspell
run: sudo apt-get install hunspell
- name: Set up JDK 11 for x64
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
architecture: x64
- name: Build POS tagging dictionary
run: |
cd "${{ env.PT_DICT_HOME }}" && bash ./pos_tagger_scripts/build-lt.sh && cd -
- name: Build spelling dictionaries
run: |
poetry run -C ${{ env.PT_DICT_HOME }} \
python "${{ env.PT_DICT_HOME }}/pt_dict/scripts/build_spelling_dicts.py"
- name: Checkout LT
uses: actions/checkout@v3
with:
repository: languagetool-org/languagetool
path: ${{ env.LT_HOME }}
token: ${{ secrets.LT_OS_TOKEN }}
- name: Build spelling dictionaries
run: |
poetry run -C ${{ env.PT_DICT_HOME }} \
python "${{ env.PT_DICT_HOME }}/pt_dict/scripts/build_spelling_dicts.py"

0 comments on commit 2ab936b

Please sign in to comment.