Skip to content

Downgrade Python to version 3.10.14 #324

Downgrade Python to version 3.10.14

Downgrade Python to version 3.10.14 #324

Workflow file for this run

name: Publish to PyPI in case of releasing
on:
push:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: [ self-hosted, small ]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version-file: .python-version
- name: Install pypa/build
run: |
python -m pip install build --user
- name: Build a binary wheel and a source tarball
run: |
python -m build --sdist --wheel --outdir dist/ .
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.SECRETS_TEST_PYPI_API_TOKEN }}