Skip to content

Commit

Permalink
fixing publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnnnnnnnnnnnn committed Aug 20, 2024
1 parent f7d2002 commit 8f529da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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]
Expand All @@ -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
Expand Down

0 comments on commit 8f529da

Please sign in to comment.