From d0fa4a2c714dd4721cb3119a2b18520b874349e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Wed, 6 Dec 2023 10:13:15 +0100 Subject: [PATCH] ci: replaced `python_version` matrix var with `python-version-file: pyproject.toml` --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f793f34..442fb2c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,6 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, windows-latest, macOS-11] - python_version: [3.9] steps: - uses: actions/checkout@v3 with: @@ -22,7 +21,8 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python_version }} + python-version-file: pyproject.toml + cache: 'poetry' - name: Install APT dependencies if: runner.os == 'Linux' run: | @@ -32,7 +32,7 @@ jobs: - name: Install dependencies shell: bash run: | - pip install poetry + pipx install poetry python -m venv venv source venv/bin/activate || source venv/Scripts/activate poetry install @@ -61,5 +61,5 @@ jobs: - name: Upload package uses: actions/upload-artifact@v2-preview with: - name: builds-${{ runner.os }}-py${{ matrix.python_version }} + name: builds-${{ runner.os }} path: dist/aw-qt