From 95dc26b08116c5b3c2ef9d65fc91271d3070b178 Mon Sep 17 00:00:00 2001 From: p-goulart Date: Wed, 3 Jan 2024 16:16:14 +0100 Subject: [PATCH] Update build workflow --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 077148f..ca014b4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,7 +48,7 @@ jobs: POETRY_HTTP_BASIC_GITLAB_PASSWORD: ${{ secrets.POETRY_HTTP_BASIC_GITLAB_PASSWORD }} - name: Set dictionary version working-directory: ${{ env.PT_DICT_HOME }} - run: echo "PT_DICT_VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//g')" >> $GITHUB_ENV + run: echo "PT_DICT_VERSION=test-$(git describe --tags --abbrev=0 | sed 's/^v//g')" >> $GITHUB_ENV - name: Set up Perl uses: shogo82148/actions-setup-perl@v1 with: @@ -76,16 +76,16 @@ jobs: java-version: '11' distribution: 'temurin' architecture: x64 - - name: Build POS tagging dictionary - working-directory: ${{ env.PT_DICT_HOME }} - run: | - bash ./pos_tagger_scripts/build-lt.sh - name: Checkout LT uses: actions/checkout@v3 with: repository: languagetool-org/languagetool path: ${{ env.LT_HOME }} token: ${{ secrets.LT_OS_TOKEN }} + - name: Build POS tagging dictionary + working-directory: ${{ env.PT_DICT_HOME }} + run: | + poetry run python "./pt_dict/scripts/build-tagger_dicts.py" - name: Build LT working-directory: ${{ env.LT_HOME }} run: mvn clean install -DskipTests