Skip to content

Telemetry support (#339) #615

Telemetry support (#339)

Telemetry support (#339) #615

Workflow file for this run

name: Publish crc-bonfire to PyPI
on:
push:
branches:
- master
tags:
- '*'
jobs:
build-and-publish:
name: Build and publish to PyPI
if: startsWith(github.event.ref, 'refs/tags')
runs-on: ubuntu-20.04
steps:
- name: Checkout to master
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: '3.10'
architecture: 'x64'
- name: Install build dependencies
run: |
python -m pip install -U pip
pip install -U wheel setuptools build twine
- name: Build sdist and wheel
run: |
python -m build -o dist/
- name: Twine check
run: python -m twine check dist/*
- name: Deploy to PyPi
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_token }}