]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - .github/workflows/build.yml
Add line to remove existing .egg-info directories
[Adafruit_Blinka-hackapet.git] / .github / workflows / build.yml
index ea5eab574717f0571002f74b20631e2d7eb86ea3..8ea84f0cfc4f23db9515c88ab7cb4e4982bbf5ca 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: Set up Python 3.7
+    - name: Set up Python 3.8
       uses: actions/setup-python@v4
       with:
-        python-version: 3.7
+        python-version: 3.8
     - name: Versions
       run: |
         python3 --version
@@ -49,6 +49,7 @@ jobs:
       run: sphinx-build -E -W -b html . _build/html
     - name: Build Python package
       run: |
+        setuptools clean --all
         pip install --upgrade build twine
         for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
             sed -i -e "s/0.0.0+auto.0/1.2.3/" $file;