Fixing 404 errors of links to notebooks in the documentation (#143) #1
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[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
publish-release: | |
runs-on: ubuntu-22.04 | |
env: | |
VERSION: ${{ github.ref_name }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: "pip" | |
- run: pip install -e '.[dev]' | |
- run: python -m build | |
- run: | |
twine upload | |
-u __token__ | |
-p ${{ secrets.PYPI_API_TOKEN }} | |
dist/* |