2
0
Эх сурвалжийг харах

Merge pull request #1036 from jelmer/fix-wheels-upload

Fix wheels uploads: don't upload wheels with unsupported platform tag
Jelmer Vernooij 2 жил өмнө
parent
commit
9cbaa9b7d8

+ 2 - 3
.github/workflows/pythonpackage.yml → .github/workflows/pythontest.yml

@@ -1,13 +1,12 @@
-name: Python package
+name: Python tests
 
 on:
   push:
-  pull_request:
   schedule:
     - cron: "0 6 * * *" # Daily 6AM UTC build
 
 jobs:
-  build:
+  test:
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:

+ 3 - 4
.github/workflows/pythonwheels.yml

@@ -2,7 +2,6 @@ name: Build Python Wheels
 
 on:
   push:
-  pull_request:
   schedule:
     - cron: "0 6 * * *" # Daily 6AM UTC build
 
@@ -69,12 +68,12 @@ jobs:
         if: "matrix.os == 'ubuntu-latest'"
       - name: Upload wheels (Linux)
         uses: actions/upload-artifact@v2
-        # Only include *manylinux* wheels; the other wheels files are built but
-        # rejected by pip.
+        # Only include *-manylinux* wheels; the other wheels files are built but
+        # rejected by pip (unsupported platform tag)
         if: "matrix.os == 'ubuntu-latest'"
         with:
           name: dist
-          path: dist/*manylinux*.whl
+          path: dist/*-manylinux*.whl
       - name: Upload wheels (non-Linux)
         uses: actions/upload-artifact@v2
         with: