Skip to content

Update cp_builder.py fix lint #77

Update cp_builder.py fix lint

Update cp_builder.py fix lint #77

Workflow file for this run

name: Build distribution
on: [push, pull_request]
jobs:
release:
runs-on: "ubuntu-latest"
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install build dependencies
run: python -m pip install build wheel
- name: Build distributions
shell: bash -l {0}
run: python setup.py sdist bdist_wheel
# - name: Publish package to PyPI
# if: github.repository == 'bat52/cheap_pie' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
# uses: pypa/gh-action-pypi-publish@master
# with:
# user: __token__
# password: ${{ secrets.pypi_password }}
#- name: Publish package distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1