Skip to content

Commit

Permalink
fix(actions): Fixed github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
breadrock1 committed Jul 5, 2024
1 parent 489c89b commit 8093780
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 8093780

Please sign in to comment.