From d16372315d8f4b8505b661b67438fe513bf62977 Mon Sep 17 00:00:00 2001 From: Armin Burger Date: Fri, 15 Dec 2023 21:33:50 +0100 Subject: [PATCH] fix codeql scanning --- .github/workflows/codeql-analysis.yml | 12 ++++++++++++ .gitignore | 1 + 2 files changed, 13 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 41a377b..8dcb172 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,6 +13,7 @@ on: jobs: codeql: name: Run CodeQL + environment: Release runs-on: ubuntu-latest steps: @@ -35,8 +36,19 @@ jobs: with: languages: 'kotlin' + - name: Decode Keystore + env: + ENCODED_STRING: ${{ secrets.SIGNING_KEY_STORE_BASE64 }} + run: | + echo $ENCODED_STRING | base64 --decode > app/keystore.jks + - name: Autobuild uses: github/codeql-action/autobuild@v2 + env: + SIGNING_KEY_STORE_PATH: app/keystore.jks + SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }} + SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} + SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }} - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 diff --git a/.gitignore b/.gitignore index 10cfdbf..97ccb68 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ .externalNativeBuild .cxx local.properties +keystore