Skip to content

Commit

Permalink
fix: export NDK_HOME for android
Browse files Browse the repository at this point in the history
  • Loading branch information
reisxd committed Feb 3, 2025
1 parent 5feca5c commit ebebe7e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,15 @@ jobs:

- name: Install NDK
if: matrix.platform == 'ubuntu-22.04'
run: sdkmanager "ndk;27.0.11902837"
run: |
sdkmanager "ndk;27.0.11902837"
echo "NDK_HOME=$ANDROID_HOME/ndk/27.0.11902837" >> $GITHUB_ENV
- name: Build for Android
if: matrix.platform == 'ubuntu-22.04'
run: npm run tauri android build
run: |
export NDK_HOME=$ANDROID_HOME/ndk/27.0.11902837
npm run tauri android build
- name: Push to release
if: matrix.platform == 'ubuntu-22.04'
Expand Down

0 comments on commit ebebe7e

Please sign in to comment.