Skip to content

Commit

Permalink
Merge pull request #34 from Ostorlab/fix/fix_install_ndk_step_workflow
Browse files Browse the repository at this point in the history
Fix ndk installation workflows
  • Loading branch information
3asm authored Aug 27, 2024
2 parents 9920c81 + 8bfb8e8 commit 162c009
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 162c009

Please sign in to comment.