diff --git a/.github/workflows/android_ci.yml b/.github/workflows/android_ci.yml index 7cc7dc4..4f386e1 100644 --- a/.github/workflows/android_ci.yml +++ b/.github/workflows/android_ci.yml @@ -23,6 +23,10 @@ jobs: - name: Setup Android SDK uses: android-actions/setup-android@v3 + # Create the local.properties file with CLIENT_ID and CLIENT_SECRET + - name: Create local.properties + run: echo "CLIENT_ID=${{ secrets.CLIENT_ID }}\nCLIENT_SECRET=${{ secrets.CLIENT_SECRET }}" > local.properties + - uses: gradle/actions/setup-gradle@v3 - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d347083..3991f97 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -50,6 +50,10 @@ jobs: - name: Setup Android SDK uses: android-actions/setup-android@v3 + # Create the local.properties file with CLIENT_ID and CLIENT_SECRET + - name: Create local.properties + run: echo "CLIENT_ID=${{ secrets.CLIENT_ID }}\nCLIENT_SECRET=${{ secrets.CLIENT_SECRET }}" > local.properties + # Initialize CodeQL tools for scanning - name: Initialize CodeQL uses: github/codeql-action/init@v3