Skip to content

Commit 3f01089

Browse files
author
Andrey Senyaev
committed
Removed env variables and defined CI_BUILD variable globally
1 parent 76a6fb2 commit 3f01089

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build_wheels_macos_m1.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
build_sdist: [0]
2828

2929
env:
30+
CI_BUILD: 1
3031
SDIST: ${{ matrix.build_sdist || 0 }}
3132
ENABLE_HEADLESS: ${{ matrix.without_gui }}
3233
ENABLE_CONTRIB: ${{ matrix.with_contrib }}
@@ -49,7 +50,7 @@ jobs:
4950
echo $ENABLE_CONTRIB > contrib.enabled
5051
echo $ENABLE_HEADLESS > headless.enabled
5152
export MACOSX_DEPLOYMENT_TARGET=11.0
52-
arch -arm64 -e SDIST=${{ matrix.build_sdist }} -e ENABLE_HEADLESS=${{ matrix.without_gui }} -e ENABLE_CONTRIB=${{ matrix.with_contrib }} python${{ matrix.python-version }} -m pip wheel --wheel-dir=wheelhouse . --verbose
53+
arch -arm64 python${{ matrix.python-version }} -m pip wheel --wheel-dir=wheelhouse . --verbose
5354
delocate-wheel ${{ github.workspace }}/wheelhouse/opencv*
5455
5556
- name: before test

0 commit comments

Comments
 (0)