From 8f529da2fbdd535cd1a91d44d4204907dd1865e9 Mon Sep 17 00:00:00 2001 From: Ron Date: Tue, 20 Aug 2024 19:30:24 +0100 Subject: [PATCH] fixing publish.yml --- .github/workflows/publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index da1c4da..60080c5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9, '3.10', '3.11'] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 @@ -46,7 +46,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - name: Install dependencies run: | python -m pip install --upgrade pip @@ -62,8 +62,8 @@ jobs: run: | python -m venv test-env . test-env/bin/activate - pip install --index-url https://test.pypi.org/simple/ etekcity_esf551_ble - python -c "from etekcity_esf551_ble import EtekcitySmartFitnessScale, MassUnit; print(EtekcitySmartFitnessScale, MassUnit)" + pip install --index-url https://test.pypi.org/simple/etekcity_esf551_ble + python -c "from etekcity_esf551_ble import EtekcitySmartFitnessScale, WeightUnit; print(EtekcitySmartFitnessScale, WeightUnit)" publish-prod: needs: [build, publish-test] @@ -74,7 +74,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - name: Install dependencies run: | python -m pip install --upgrade pip