Skip to content

Commit

Permalink
Issue #ED-4414 fix: added sonar token and run sonar analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
vpPavithra committed Jun 18, 2024
1 parent 6e6f8a4 commit 64aa405
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 19 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@ jobs:
- name: Build APK
run: cd android && ./gradlew assembleDebug

- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_SUNBIRD_4C2BA }}"
projectId: sunbird-4c2ba

- name: Upload APK
uses: actions/upload-artifact@v3.1.2
with:
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,6 @@ jobs:
- name: Install Sonar Scanner
run: sudo npm install -g sonarqube-scanner@3.5.0

- name: Cache SonarQube Scanner
uses: actions/cache@v2
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonarqube-${{ hashFiles('**/sonar-project.properties') }}
restore-keys: |
${{ runner.os }}-sonarqube-
- name: Run SonarQube Analysis
run: |
sonar-scanner \
Expand Down
10 changes: 5 additions & 5 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# org.gradle.jvmargs=-Xmx1536m
org.gradle.jvmargs=-Xms1024m -Xmx4096m
org.gradle.jvmargs=-Xmx1536m

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
Expand All @@ -24,6 +23,7 @@ android.useAndroidX=true
android.enableJetifier=true
android.defaults.buildfeatures.buildconfig=true
# App.properties
app_name=Sunbird
app_id=org.sunbird.app.staging
flavor=staging
app_name=Sunbird
app_id=org.sunbird.app.staging
flavor=staging
custom_scheme_url=staging.diksha.app

0 comments on commit 64aa405

Please sign in to comment.