Skip to content

Commit

Permalink
Merge pull request #21 from kefeimo/20-have-pip-install-dnp3-python-s…
Browse files Browse the repository at this point in the history
…upport-multiple-python-version

allow github action to build wheel for multiple version
  • Loading branch information
schandrika authored Mar 7, 2023
2 parents d065f74 + 5983784 commit 141b67f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ defaults:
env:
LANG: en_US.utf-8
LC_ALL: en_US.utf-8
PYTHON_VERSION: "3.8"

jobs:
bump_version:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10' ]
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
Expand All @@ -32,11 +34,12 @@ jobs:
submodules: recursive
fetch-depth: 0

- name: Set up Python ${{ env.PYTHON_VERSION }}
- name: Set up Python ${{ matrix.python-version }}
id: setup-python
uses: actions/[email protected]
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version: ${{ matrix.python-version }}
- run: echo "Installed python version $(python -V)"

#----------------------------------------------
# install cmake to allow us to build the wheel
Expand Down

0 comments on commit 141b67f

Please sign in to comment.