diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 3d3ddd947fd280490fbd399c3f97cc68e750ec24..f64694179d12e254c937df7ff9e1117a38896245 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: