Skip to content

Commit

Permalink
Fix for python version
Browse files Browse the repository at this point in the history
  • Loading branch information
GwendalRaoul committed Aug 26, 2024
1 parent 62f7bc4 commit edf6fdb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11'] #, '3.12']
python-version: ['3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:

# Produced wheels is same independently of python version
- name: Upload Wheel for releases only for last matrix version
if: ${{ github.event_name == 'release' && matrix.python-version == '3.8' }}
if: ${{ github.event_name == 'release' && matrix.python-version == '3.11' }}
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -124,15 +124,15 @@ jobs:
asset_name: wirepas_mesh_messaging-${{ env.VERSION }}-py3-none-any.whl

- name: Publish package to TestPyPI for push to master
if: ${{ github.event_name == 'workflow_dispatch' && matrix.python-version == '3.8' }}
if: ${{ github.event_name == 'workflow_dispatch' && matrix.python-version == '3.11' }}
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TEST_PWD }}
repository_url: https://test.pypi.org/legacy/

- name: Publish package to PyPI for release
if: ${{ github.event_name == 'release' && matrix.python-version == '3.8' }}
if: ${{ github.event_name == 'release' && matrix.python-version == '3.11' }}
uses: pypa/[email protected]
with:
user: __token__
Expand Down

0 comments on commit edf6fdb

Please sign in to comment.