diff --git a/.github/workflows/deploy-nightly.yml b/.github/workflows/deploy-nightly.yml index a5c2420c..a6e8c7de 100644 --- a/.github/workflows/deploy-nightly.yml +++ b/.github/workflows/deploy-nightly.yml @@ -27,11 +27,13 @@ jobs: python-version: 3.8 # Setup poetry - - name: Install poetry 1.5.1 + - name: Install poetry 1.8.4 run: | - python -m ensurepip python -m pip install --upgrade pip - python -m pip install poetry==1.5.1 + python -m pip install poetry==1.8.4 + + - name: Install build dependencies + run: sudo apt-get -y install libcairo2-dev pkg-config python3-dev - name: Install dependencies shell: bash diff --git a/.github/workflows/deploy-stable.yml b/.github/workflows/deploy-stable.yml index e795aa04..15c584c9 100644 --- a/.github/workflows/deploy-stable.yml +++ b/.github/workflows/deploy-stable.yml @@ -44,23 +44,26 @@ jobs: python-version: 3.8 # Setup poetry - - name: Install poetry 1.5.1 + - name: Install poetry 1.8.4 run: | python -m ensurepip python -m pip install --upgrade pip - python -m pip install poetry==1.5.1 + python -m pip install poetry==1.8.4 + + - name: Install build dependencies + run: sudo apt-get -y install libcairo2-dev pkg-config python3-dev - name: Install dependencies shell: bash run: poetry install --all-extras - - name: Build package - run: poetry run python scripts/build_package.py - - name: Update version if needed if: ${{ inputs.level != 'patch' }} run: poetry version ${{ inputs.level }} + - name: Build package + run: poetry run python scripts/build_package.py + - name: Discover current version run: | poetry run pretext --version