Skip to content

Commit

Permalink
Add action to create local.properties
Browse files Browse the repository at this point in the history
Signed-off-by: Bonface Shisakha Asunga <[email protected]>
  • Loading branch information
bonfaceshisakha committed Nov 14, 2022
1 parent 86ab3cb commit 90d7f06
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/snyk-security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- master
- develop
pull-request:
pull_request:
jobs:
security:
runs-on: ubuntu-latest
Expand All @@ -14,6 +14,10 @@ jobs:
run: echo "y" | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT}
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Decode & Generate local.properties file
run: echo $LOCAL_PROPERTIES | base64 -di > local.properties
env:
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }}
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/gradle-jdk11@master
continue-on-error: true # To make sure that SARIF upload gets called
Expand Down

0 comments on commit 90d7f06

Please sign in to comment.