Skip to content

Commit

Permalink
fix: Now CI has the local.properties file for build
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Fontán <gabilessto@gmail.com>
  • Loading branch information
BobbyESP committed May 11, 2024
1 parent 1c48774 commit 37c961c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 37c961c

Please sign in to comment.