Skip to content

Commit

Permalink
Update build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
p-goulart committed Jan 3, 2024
1 parent 25e4b25 commit 95dc26b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 95dc26b

Please sign in to comment.