Bump version: 1.7.3 → 1.8.0 #46
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: Release | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install hatch | |
run: pip install hatch | |
- name: Build | |
run: hatch build | |
- name: Install | |
run: pip install dist/*.whl | |
- name: Test import | |
run: python -c "import react_ipywidgets; import reacton;" | |
- name: Publish a Python distribution to PyPI | |
env: | |
HATCH_INDEX_USER: __token__ | |
HATCH_INDEX_AUTH: ${{ secrets.pypi_password }} | |
run: | | |
openssl sha256 dist/* | |
hatch publish | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: distributions | |
path: ./dist |