Skip to content

Merge pull request #20 from mkdocstrings/dev-upgrade #23

Merge pull request #20 from mkdocstrings/dev-upgrade

Merge pull request #20 from mkdocstrings/dev-upgrade #23

Workflow file for this run

name: Build and publish release
on: push
jobs:
pypi-publish:
name: Upload release to PyPI
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/mkdocstrings-vba
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Build distributions
run: python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1