Skip to content

Update github action for creating python wheel files #1

Update github action for creating python wheel files

Update github action for creating python wheel files #1

Workflow file for this run

name: Build Wheel
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9, 3.10, 3.11, 3.12]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install wheel setuptools
pip install -r requirements.txt
./run_automation.sh setup-dev-env
- name: Build wheel
run: |
./run_automation.sh build-wheel
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: wheel-${{ matrix.python-version }}
path: dist/*.whl