X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka.git/blobdiff_plain/58e7d9cd5ab5fd8191f3769a0539cc45a2e25e80..1cf95dfa43071a832d230b2d98d2de34d2998619:/.github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ea5eab5..8f6450a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,10 +16,10 @@ jobs: - 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.7 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.11 - name: Versions run: | python3 --version @@ -47,6 +47,10 @@ jobs: - 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