Skip to content

Commit c5252f4

Browse files
update stable workflow
1 parent 6ef5281 commit c5252f4

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/prerelease.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
8-
branches:
9-
- main
107

118
permissions:
129
contents: read
@@ -67,7 +64,6 @@ jobs:
6764
env:
6865
TARGET_PYTHON: ${{ matrix.python-version }}
6966
run: |
70-
ldd --version || true
7167
glibc_version=$(ldd --version | awk '/ldd/{print $NF}')
7268
export GLIBC_VERSION="${glibc_version//./_}"
7369
echo $GLIBC_VERSION

.github/workflows/stable-release-workflow.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: true
3333
matrix:
34-
os: [ubuntu-24.04, macos-13, macos-14]
34+
os: [ubuntu-22.04, ubuntu-24.04, macos-13, macos-14]
3535
python-version: ['3.10', '3.11', '3.12']
3636

3737
steps:
@@ -64,7 +64,10 @@ jobs:
6464
env:
6565
TARGET_PYTHON: ${{ matrix.python-version }}
6666
run: |
67-
bazel build --define TARGET_VERSION="$(python -c "print(\"py${TARGET_PYTHON}\".replace(\".\", \"\"))")" --define VERSION="$(cat version/version.txt)" :tesseract_decoder_wheel
67+
glibc_version=$(ldd --version | awk '/ldd/{print $NF}')
68+
export GLIBC_VERSION="${glibc_version//./_}"
69+
echo $GLIBC_VERSION
70+
bazel build --define GLIBC_VERSION="$GLIBC_VERSION" --define TARGET_VERSION="$(python -c "print(\"py${TARGET_PYTHON}\".replace(\".\", \"\"))")" --define VERSION="$(cat version/version.txt)" :tesseract_decoder_wheel
6871
6972
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
7073
with:

0 commit comments

Comments
 (0)