Made values dynamic in pyproject.toml (#135) #3
Workflow file for this run
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
name: Publish release | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
build: | |
name: Build package | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python environment | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.7" | |
- name: Prepare environment | |
run: | | |
python3 -m pip install --upgrade pip | |
pip install -e .[release] | |
- name: Create packages | |
run: | | |
python3 setup.py sdist | |
python3 setup.py bdist_wheel | |
- name: Publish packages | |
run: | | |
python3 -m twine dist/* | |