Skip to content

Commit 544fcd6

Browse files
committed
Add BUILD_DEPENDS to build.sh
1 parent 12bc0d1 commit 544fcd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ echo "::group::Install a virtualenv"
2525
echo "::endgroup::"
2626

2727
echo "::group::Build wheel"
28+
np_dep=$(python get_numpy_version.py ${MB_PYTHON_VERSION})
29+
export BUILD_DEPENDS=$np_dep
2830
clean_code
2931
build_wheel
3032
ls -l "${GITHUB_WORKSPACE}/${WHEEL_SDIR}/"

.github/workflows/wheels-linux.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ jobs:
5555
- uses: actions/setup-python@v4
5656
with:
5757
python-version: ${{ matrix.python }}
58-
- name: Set Numpy version
59-
run: echo "BUILD_DEPENDS=$(./get_numpy_version.py ${{ matrix.python }})" >> $GITHUB_ENV
6058
- name: Build Wheel
6159
run: .github/workflows/build.sh
6260
- uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)