Skip to content

Commit

Permalink
ci: cache ndk download (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
msiglreith authored Oct 15, 2020
1 parent 13914ef commit 2ecb13d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Cache NDK
id: cache-ndk
uses: actions/cache@v2
with:
path: android-ndk-r20
key: android-ndk-r20-${{ runner.os }}

- name: Download NDK
if: steps.cache-ndk.outputs.cache-hit != 'true'
run: |
curl -LO https://dl.google.com/android/repository/android-ndk-r20-linux-x86_64.zip
unzip android-ndk-r20-linux-x86_64.zip -d $GITHUB_WORKSPACE
Expand Down

0 comments on commit 2ecb13d

Please sign in to comment.