Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iahmadgad authored Oct 25, 2024
1 parent 163f265 commit 4da8878
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,10 @@ jobs:
run: rustup target add ${{ matrix.target }}

- name: Install Android NDK
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends unzip
wget https://dl.google.com/android/repository/android-ndk-${{ env.ANDROID_NDK_VERSION }}-linux.zip
unzip android-ndk-${{ env.ANDROID_NDK_VERSION }}-linux.zip -d $HOME
export ANDROID_NDK_HOME=$HOME/android-ndk-${{ env.ANDROID_NDK_VERSION }}
echo "ANDROID_NDK_HOME=${{ env.ANDROID_NDK_HOME }}" >> $GITHUB_ENV
uses: nttld/setup-ndk@v1
with:
ndk-version: r26d

- name: Set up Android environment variables
run: |
export ANDROID_HOME=$HOME/android-sdk
Expand Down

0 comments on commit 4da8878

Please sign in to comment.