- name: Translate Repo Name For Build Tools filename_prefix
id: repo-name
run: echo "repo-name=Adafruit-Blinka" >> $GITHUB_OUTPUT
- - name: Set up Python 3.8
+ - name: Set up Python 3.11
uses: actions/setup-python@v4
with:
- python-version: 3.8
+ python-version: 3.11
- name: Versions
run: |
python3 --version
- name: Build docs
working-directory: docs
run: sphinx-build -E -W -b html . _build/html
+ - name: Check For pyproject.toml
+ id: need-pypi
+ run: |
+ echo "pyproject-toml=$( find . -wholename './pyproject.toml' )" >> $GITHUB_OUTPUT
- name: Build Python package
run: |
pip install --upgrade build twine