Skip to content

Merge pull request #6535 from microsoft/astafan8/changelog49 #44

Merge pull request #6535 from microsoft/astafan8/changelog49

Merge pull request #6535 from microsoft/astafan8/changelog49 #44

Workflow file for this run

name: Upload Python Package
on:
push:
tags:
- v*
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
environment: pypi-release-env
permissions:
id-token: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Set up Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: '3.10'
- name: Install build deps
run: pip install --upgrade pip setuptools wheel build
- name: Build
run: |
python -m build
- name: Install Twine
run: pip install twine
- name: Publish to pypi
uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # release/v1