diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f4f2b5a04..13e25910a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,8 +21,8 @@ jobs: id: talib_c run: | set -euo pipefail - V=$(sed -n 's/^ TALIB_C_VER: *//p' .github/workflows/wheels.yml) - [ -n "$V" ] || { echo "::error::no TALIB_C_VER in wheels.yml"; exit 1; } + V=$(sed -n "s/^TALIB_C_VERSION = '\(.*\)'$/\1/p" setup.py) + [ -n "$V" ] || { echo "::error::no TALIB_C_VERSION in setup.py"; exit 1; } echo "version=$V" >> "$GITHUB_OUTPUT" - name: Set up TA-Lib diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 66ed4d4f5..429394205 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -7,7 +7,6 @@ on: workflow_dispatch: env: - TALIB_C_VER: 0.8.1 PIP_NO_VERIFY: 0 PIP_VERBOSE: 1 CIBW_BEFORE_BUILD: pip install -U setuptools Cython wheel meson-python ninja && pip install -U numpy