@@ -170,34 +170,6 @@ jobs:
170170 path : ' .fvmrc'
171171 cache : true
172172
173- # TEMP: use libdart_bridge.so built by a specific dart-bridge CI run
174- # instead of the released binary, so Android builds pick up unreleased
175- # dart-bridge changes (e.g. the worker-thread priority fix). REMOVE once
176- # the change is released and dart_bridge_version is bumped.
177- # Cross-repo artifact download needs a token with actions:read on
178- # flet-dev/dart-bridge — set the DART_BRIDGE_TOKEN secret (a PAT); the
179- # default GITHUB_TOKEN cannot read another repo's run artifacts.
180- - name : Use dart-bridge Android binaries from a specific CI run
181- if : startsWith(matrix.name, 'apk') || startsWith(matrix.name, 'aab')
182- shell : bash
183- env :
184- GH_TOKEN : ${{ secrets.DART_BRIDGE_TOKEN || secrets.GITHUB_TOKEN }}
185- run : |
186- set -euo pipefail
187- VER="${{ inputs.python_version }}"
188- RUN_ID=28121718882
189- DEST="${ROOT}/dart_bridge_dist"
190- TMP="${ROOT}/dart_bridge_tmp"
191- mkdir -p "$DEST"
192- # Pull only this Python version's .so artifacts (all ABIs).
193- gh run download "$RUN_ID" --repo flet-dev/dart-bridge \
194- --pattern "libdart_bridge-android-*-py${VER}" --dir "$TMP"
195- # serious_python_android expects a flat dir of
196- # libdart_bridge-android-<abi>-py<ver>.so files.
197- find "$TMP" -name '*.so' -exec mv {} "$DEST/" \;
198- ls -l "$DEST"
199- echo "SERIOUS_PYTHON_DART_BRIDGE_DIST=$DEST" >> "$GITHUB_ENV"
200-
201173 - name : Build app
202174 shell : bash
203175 working-directory : sdk/python/examples/apps/flet_build_test
0 commit comments