diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b9f56ee8..0590d22f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,15 +18,23 @@ jobs: steps: - uses: actions/checkout@v1 + + - name: Install libomp + run: | + brew install libomp + if: matrix.os == 'macos-latest' + - name: Set up Python uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} + - name: Install dependencies run: | python -m pip install --upgrade pip pip install setuptools wheel twine pip install -r requirements.txt + - name: Build and publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}