From c84f1c2155db21d638758bf6de16973d5c8c62fd Mon Sep 17 00:00:00 2001 From: Sami Moustachir Date: Sun, 21 Aug 2022 13:18:21 +0200 Subject: [PATCH] ci: fix publish workflow --- .github/workflows/publish.yml | 11 +++++------ README.md | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 39f9a2d..bab9ccc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ jobs: fail-fast: false matrix: python-version: [3.9] - poetry-version: [1.1.2] + poetry-version: [1.1.11] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: @@ -18,11 +18,10 @@ jobs: - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - - name: Install and set up Poetry - run: | - python get-poetry.py --preview -y - source $HOME/.poetry/env - poetry config virtualenvs.in-project true + - name: Run image + uses: abatilo/actions-poetry@v2.0.0 + with: + poetry-version: ${{ matrix.poetry-version }} - name: Publish on PyPi env: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} diff --git a/README.md b/README.md index 701dbd2..ad69a90 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://github.com/sammous/spacy-lefff/actions/workflows/test.yml/badge.svg?branch=master))](https://github.com/sammous/spacy-lefff/actions/workflows/test.yml?branch=master)[![Coverage Status](https://codecov.io/gh/sammous/spacy-lefff/badge.svg?branch=master)](https://codecov.io/gh/sammous/spacy-lefff?branch=master)[![PyPI version](https://badge.fury.io/py/spacy-lefff.svg)](https://badge.fury.io/py/spacy-lefff) +[![Build Status](https://github.com/sammous/spacy-lefff/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/sammous/spacy-lefff/actions/workflows/test.yml?branch=master)[![Coverage Status](https://codecov.io/gh/sammous/spacy-lefff/badge.svg?branch=master)](https://codecov.io/gh/sammous/spacy-lefff?branch=master)[![PyPI version](https://badge.fury.io/py/spacy-lefff.svg)](https://badge.fury.io/py/spacy-lefff) # spacy-lefff : Custom French POS and lemmatizer based on Lefff for spacy