Skip to content

Commit 91e1557

Browse files
committed
ci: seed portable wheel cache
1 parent 8e4d75d commit 91e1557

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/ci-flake-probe.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cache-disabled, jobs=1, run 6/6
1+
portable-cache seed run 1

.github/workflows/dry-run-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
uses: bazel-contrib/setup-bazel@c5acdfb288317d0b5c0bbd7a396a3dc868bb0f86 # 0.19.0
6868
with:
6969
bazelisk-cache: true
70+
disk-cache: ${{ github.workflow }}-${{ matrix.os }}-py${{ matrix.python-version }}-portable-v1
7071
repository-cache: true
7172

7273
- name: Set Python Version
@@ -90,7 +91,7 @@ jobs:
9091
ABI_TAG="$(python -c "print(\"cp${TARGET_PYTHON}\".replace(\".\", \"\"))")"
9192
echo $ABI_TAG
9293
bazel cquery "@rules_python//python/config_settings:py_freethreaded" --output=build # A debug statement
93-
bazel build --jobs=1 --verbose_failures --define ABI_TAG=$ABI_TAG --define GLIBC_VERSION=$GLIBC_VERSION --define TARGET_VERSION="$(python -c "print(\"py${TARGET_PYTHON}\".replace(\".\", \"\"))")" --define VERSION="$(cat version/version.txt)" :tesseract_decoder_wheel
94+
bazel build --jobs=1 --verbose_failures --config=wheel --define ABI_TAG=$ABI_TAG --define GLIBC_VERSION=$GLIBC_VERSION --define TARGET_VERSION="$(python -c "print(\"py${TARGET_PYTHON}\".replace(\".\", \"\"))")" --define VERSION="$(cat version/version.txt)" :tesseract_decoder_wheel
9495
9596
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
9697
with:

0 commit comments

Comments
 (0)