]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
More changes and ran pre-commit
authorMelissa LeBlanc-Williams <melissa@adafruit.com>
Mon, 23 Jun 2025 15:35:58 +0000 (08:35 -0700)
committerMelissa LeBlanc-Williams <melissa@adafruit.com>
Mon, 23 Jun 2025 15:35:58 +0000 (08:35 -0700)
.github/workflows/build.yml
.github/workflows/release.yml
requirements.txt

index 52d16c17e6b237c027434a7cf5d8f9b240ce42b3..80940d0f12cfb7e33f6361f5734d25ead33f1585 100644 (file)
@@ -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: Translate Repo Name For Build Tools filename_prefix
       id: repo-name
       run: echo "repo-name=Adafruit-Blinka" >> $GITHUB_OUTPUT
-    - name: Set up Python 3.11
+    - name: Set up Python 3.8
       uses: actions/setup-python@v4
       with:
       uses: actions/setup-python@v4
       with:
-        python-version: 3.11
+        python-version: 3.8
     - name: Versions
       run: |
         python3 --version
     - name: Versions
       run: |
         python3 --version
@@ -47,12 +47,7 @@ jobs:
     - name: Build docs
       working-directory: docs
       run: sphinx-build -E -W -b html . _build/html
     - 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
     - name: Build Python package
-      if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
       run: |
         pip install --upgrade build twine
         for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
       run: |
         pip install --upgrade build twine
         for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
index ab6669f21d74c949592de1beff72b744895bd55b..55d1f8203f3f9eea25051df94ff6bbd43ccf441a 100644 (file)
@@ -34,4 +34,4 @@ jobs:
             sed -i -e "s/0.0.0+auto.0/${{github.event.release.tag_name}}/" $file;
         done;
         python -m build
             sed -i -e "s/0.0.0+auto.0/${{github.event.release.tag_name}}/" $file;
         done;
         python -m build
-        twine upload dist/*
\ No newline at end of file
+        twine upload dist/*
index 4737d9b8120f5f86f37b27eeaedee4e70fd864b3..aec791108819009e91771e9f548240d99698f908 100755 (executable)
@@ -6,4 +6,4 @@
 
  # (the -e above is optional). you could also just install the package
  # normally with just the line below (after uncommenting)
 
  # (the -e above is optional). you could also just install the package
  # normally with just the line below (after uncommenting)
- .
\ No newline at end of file
+ .