-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
62f7bc4
commit edf6fdb
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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,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__ | ||
|