From c71c8681c3ad590cbe19e96f03fab2dd1e3cdf3b Mon Sep 17 00:00:00 2001
From: tqtg <tuantq.vnu@gmail.com>
Date: Sat, 10 Jul 2021 12:36:56 +0800
Subject: [PATCH] rename linux wheels to suported platform by pypi

---
 .github/workflows/python-publish.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml
index 3d3ddd94..f6469417 100644
--- a/.github/workflows/python-publish.yml
+++ b/.github/workflows/python-publish.yml
@@ -34,7 +34,7 @@ jobs:
     - name: Display Python version
       run: python -c "import sys; print(sys.version)"
     
-    - name: Install GCC for MacOS using Homebrew
+    - name: Install GCC with OpenMP support for MacOS
       if: matrix.os == 'macos-latest'
       run: |
         brew reinstall gcc@9
@@ -61,12 +61,15 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - uses: actions/checkout@v2
-    
+          
     - uses: actions/download-artifact@v2
       with:
         name: wheels
         path: dist/
-      
+    
+    - name: Rename Linux wheels to supported platform of PyPI
+      run: for f in dist/*.whl; do mv "$f" "$(echo "$f" | sed s/linux/manylinux1/)"; done
+
     - name: Set up Python
       uses: actions/setup-python@v2
       with:
-- 
GitLab