Skip to content

Commit

Permalink
fix/CI: local.properties file not being well created
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Fontán <[email protected]>
  • Loading branch information
BobbyESP committed May 12, 2024
1 parent 37c961c commit 5715ef6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +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
run: |
echo "CLIENT_ID=${{ secrets.CLIENT_ID }}" >> local.properties
echo "CLIENT_SECRET=${{ secrets.CLIENT_SECRET }}" >> local.properties
- uses: gradle/actions/setup-gradle@v3
- name: Grant execute permission for gradlew
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ jobs:

# 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
run: |
echo "CLIENT_ID=${{ secrets.CLIENT_ID }}" >> local.properties
echo "CLIENT_SECRET=${{ secrets.CLIENT_SECRET }}" >> local.properties
# Initialize CodeQL tools for scanning
- name: Initialize CodeQL
Expand Down

0 comments on commit 5715ef6

Please sign in to comment.