Skip to content

Commit 413bd66

Browse files
committed
update
1 parent 29ee207 commit 413bd66

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

.github/workflows/react_native.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,6 @@ jobs:
2424
with:
2525
submodules: false
2626

27-
- name: Get Docker Image
28-
id: build_docker_image_step
29-
uses: microsoft/onnxruntime-github-actions/[email protected]
30-
with:
31-
dockerfile: ${{ github.workspace }}/tools/ci_build/github/linux/docker/inference/x86_64/default/cpu/Dockerfile
32-
image-name: ghcr.io/microsoft/onnxruntime/onnxruntimecpubuildcentos8x64_packaging
33-
push: true
34-
azure-container-registry-name: onnxruntimebuildcache
35-
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37-
3827
- name: Set version number variables
3928
id: set_versions
4029
run: |
@@ -47,10 +36,18 @@ jobs:
4736
with:
4837
ndk-version: 28.0.13004108
4938

39+
- uses: microsoft/onnxruntime-github-actions/[email protected]
40+
with:
41+
vcpkg-version: '2025.06.13'
42+
vcpkg-hash: '735923258c5187966698f98ce0f1393b8adc6f84d44fd8829dda7db52828639331764ecf41f50c8e881e497b569f463dbd02dcb027ee9d9ede0711102de256cc'
43+
cmake-version: '3.31.6'
44+
cmake-hash: '42395e20b10a8e9ef3e33014f9a4eed08d46ab952e02d2c1bbc8f6133eca0d7719fb75680f9bbff6552f20fcd1b73d86860f7f39388d631f98fb6f622b37cf04'
45+
add-cmake-to-path: 'true'
46+
disable-terrapin: 'true'
47+
5048
- name: Build Android AAR Packages
5149
run: |
5250
set -e -x
53-
ORT_VERSION=$(cat VERSION_NUMBER)
5451
mkdir -p ${{ runner.temp }}/.build_settings
5552
mkdir -p ${{ runner.temp }}/artifacts
5653
cp tools/ci_build/github/js/react_native_e2e_full_aar_build_settings.json ${{ runner.temp }}/.build_settings/build_settings.json
@@ -60,7 +57,7 @@ jobs:
6057
python3 ${{ github.workspace }}/tools/ci_build/github/android/build_aar_package.py --build_dir ${{ runner.temp }} --config Release --android_sdk_path $ANDROID_SDK_ROOT --android_ndk_path $ANDROID_NDK_ROOT ${{ runner.temp }}/.build_settings/build_settings.json
6158
6259
# Copy the built artifacts to give folder for publishing
63-
BASE_PATH=${{ runner.temp }}/aar_out/Release/com/microsoft/onnxruntime/onnxruntime-android/${ORT_VERSION}
60+
BASE_PATH=${{ runner.temp }}/aar_out/Release/com/microsoft/onnxruntime/onnxruntime-android/${OnnxRuntimeVersion}
6461
cp ${BASE_PATH}/*.jar ${{ runner.temp }}/artifacts
6562
cp ${BASE_PATH}/*.aar ${{ runner.temp }}/artifacts
6663
cp ${BASE_PATH}/*.pom ${{ runner.temp }}/artifacts

0 commit comments

Comments
 (0)