Skip to content

v0.2.5

v0.2.5 #15

Workflow file for this run

name: Publish Release
env:
PYTHON_VERSION: "3.10"
on:
release:
types: [published]
jobs:
update_docs_for_version_bump:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: actions/[email protected]
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
uses: ./.github/actions/install-dependencies
with:
requirements: "true"
test-requirements: "true"
docs-requirements: "true"
- name: Push documentation changes
uses: ./.github/actions/publish-docs-with-mike
with:
new_version: true
build-and-publish-wheel-to-pypi:
runs-on: ubuntu-latest
environment: "Publish Release"
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: actions/[email protected]
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Build wheel
uses: ./.github/actions/build-dist
# Using full SHA for security
# https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@a56da0b891b3dc519c7ee3284aff1fad93cc8598
with:
password: ${{ secrets.PYPI_API_TOKEN }}