Skip to content

Commit 2db5a82

Browse files
fix: update pre-scan commands for SCA workflow
1 parent 053e1d9 commit 2db5a82

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/sca_scan.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ jobs:
88
snyk-cli:
99
uses: auth0/devsecops-tooling/.github/workflows/sca-scan.yml@main
1010
with:
11+
java-version: '17'
1112
node-version: '22'
12-
pre-scan-commands: 'yarn install && rm -f android/build.gradle'
13+
pre-scan-commands: |
14+
yarn install
15+
printf "rootProject.name = 'react-native-auth0'\ninclude ':android'\n" > settings.gradle
16+
yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "platforms;android-35" "build-tools;35.0.0" > /dev/null 2>&1 || true
1317
secrets: inherit

0 commit comments

Comments
 (0)