Skip to content

Remove unhelpful wheel settings #30

Remove unhelpful wheel settings

Remove unhelpful wheel settings #30

Workflow file for this run

name: Release
on:
release:
types:
- published
push:
branches:
- release-testing
jobs:
upload:
name: "Upload to Python Package Index"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Write version
run: |
if [ $GITHUB_REF_TYPE == 'tag' ]; then
python scripts/freeze_version.py "$GITHUB_REF_NAME"
else
# We use the commit count rather than the short hash to comply with
# the scheme described in PEP-440.
python scripts/freeze_version.py 0.0.1.dev`git rev-list --count HEAD`
fi
- name: Build package
run: python -m build
# - name: Publish distribution to PyPI
# uses: pypa/gh-action-pypi-publish@master
# with:
# password: ${{ secrets.PYPI_API_TOKEN }}