Skip to content

Commit

Permalink
powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Oct 28, 2024
1 parent 014f0b9 commit 33e21d4
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/mobsf-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,17 @@ jobs:
- name: Windows debug
if: startsWith(matrix.os, 'windows')
run: |
poetry run python mobsf/MobSF/tools_download.py "%USERPROFILE%\.MobSF"
set JAVA_HOME=%JAVA_HOME_21_X64%
set PATH=%JAVA_HOME%\bin;%PATH%
echo JAVA_HOME is set to %JAVA_HOME%
echo PATH is updated with JAVA_HOME\bin
& "C:\Users\runneradmin\.MobSF\tools\jadx\jadx-1.5.0\bin\jadx.bat"
$env:JAVA_HOME = $env:JAVA_HOME_21_X64
$env:PATH = "$env:JAVA_HOME\bin;$env:PATH"
Write-Host "JAVA_HOME is set to $env:JAVA_HOME"
Write-Host "PATH is updated with $env:JAVA_HOME\bin"
java -version
"%USERPROFILE%\.MobSF\tools\jadx\jadx-1.5.0\bin\jadx.bat"
& "C:\Users\runneradmin\.MobSF\tools\jadx\jadx-1.5.0\bin\jadx.bat"
- name: Unit Tests on Ubuntu, macOS and Windows
run: |
Expand Down

0 comments on commit 33e21d4

Please sign in to comment.