Skip to content

Fix tox -e build by pinning Python version (#51) #120

Fix tox -e build by pinning Python version (#51)

Fix tox -e build by pinning Python version (#51) #120

Workflow file for this run

name: Package
on:
push:
branches: [main]
pull_request:
branches: [main]
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Build package via tox
run: tox -e build
- name: Upload artifacts
uses: actions/[email protected]
with:
name: dist-files
path: dist/*