Skip to content

Commit

Permalink
Fix ndk not installing on workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ErebusZ committed Aug 26, 2024
1 parent b8e63bb commit 82de111
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/connectedAndroidTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
sudo chmod -R 777 /usr/local/lib/android/sdk/ndk
sudo chown -R $USER:$USER /usr/local/lib/android/sdk/ndk
- name: Install NDK
if: steps.ndk-cache.outputs.cache-hit != 'true'
run: echo "y" | ${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/sdkmanager --install "ndk;25.1.8937393"
- name: install NDK
uses: nttld/setup-ndk@v1
with:
ndk-version: r25b

- uses: actions/setup-java@v3
with:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
sudo chmod -R 777 /usr/local/lib/android/sdk/ndk
sudo chown -R $USER:$USER /usr/local/lib/android/sdk/ndk
- name: Install NDK
if: steps.ndk-cache.outputs.cache-hit != 'true'
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;25.1.8937393"
- name: install NDK
uses: nttld/setup-ndk@v1
with:
ndk-version: r25b

- uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -51,6 +52,7 @@ jobs:
with:
files: |
./ostorlab_insecure_app.apk
- name: Launch Ostorlab Full Scan with just Login Credentials
uses: Ostorlab/[email protected]
with:
Expand Down

0 comments on commit 82de111

Please sign in to comment.