Skip to content

Commit 90d7f06

Browse files
Add action to create local.properties
Signed-off-by: Bonface Shisakha Asunga <[email protected]>
1 parent 86ab3cb commit 90d7f06

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/snyk-security-scan.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branches:
55
- master
66
- develop
7-
pull-request:
7+
pull_request:
88
jobs:
99
security:
1010
runs-on: ubuntu-latest
@@ -14,6 +14,10 @@ jobs:
1414
run: echo "y" | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT}
1515
- name: Grant execute permission for gradlew
1616
run: chmod +x gradlew
17+
- name: Decode & Generate local.properties file
18+
run: echo $LOCAL_PROPERTIES | base64 -di > local.properties
19+
env:
20+
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }}
1721
- name: Run Snyk to check for vulnerabilities
1822
uses: snyk/actions/gradle-jdk11@master
1923
continue-on-error: true # To make sure that SARIF upload gets called

0 commit comments

Comments
 (0)