From edf6fdb08298f928d84b7cedd054884153c256e4 Mon Sep 17 00:00:00 2001 From: Gwendal Raoul Date: Mon, 26 Aug 2024 17:31:37 +0200 Subject: [PATCH] Fix for python version --- .github/workflows/python-package.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 8698dcf..1a3bfdd 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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 @@ -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 }} @@ -124,7 +124,7 @@ 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/gh-action-pypi-publish@v1.4.1 with: user: __token__ @@ -132,7 +132,7 @@ jobs: 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/gh-action-pypi-publish@v1.4.1 with: user: __token__