workflows

deploy-pip.yml

The workflow builds the wheels and publish the repository to pypi.

Usage


uses: qiboteam/workflow/.github/workflows/deploy-pip.yml@main
with:
    inputs:
        # The used os. 
        # Mandatory input 
        os: 'ubuntu-latest'
        # The python version to be installed.
        # Mandatory input
        python-version: 3.9
        # If 'publish' is true the repository 
        # will be published. 
        # Default: false 
        publish: true 

secrets:
    # Token to publish 
    # Required only if 'publish' is true 
    PYPI-TOKEN: $