From 809378094b4451c15f82cb5b075bb628c59ceaad Mon Sep 17 00:00:00 2001 From: breadrock Date: Fri, 5 Jul 2024 19:06:17 +0300 Subject: [PATCH] fix(actions): Fixed github actions --- .github/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b16347..5c297ab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,12 +69,14 @@ jobs: - name: Select jdk platform id: jdk run: | - if [ ${{ matrix.rust-target }} == 'pull_request' ]; then - echo "java_platform=x64" >> $GITHUB_OUTPUT - elif [ ${{ matrix.rust-target }} == 'push' ]; then + if [ ${{ matrix.rust-target }} == 'aarch64-linux-android' ]; then + echo "java_platform=aarch64" >> $GITHUB_OUTPUT + + elif [ ${{ matrix.rust-target }} == 'armv7-linux-androideabi' ]; then echo "java_platform=armv7" >> $GITHUB_OUTPUT + else - echo "java_platform=aarch64" >> $GITHUB_OUTPUT + echo "java_platform=x64" >> $GITHUB_OUTPUT fi - name: Build rust library for ${{ matrix.rust-target }}