diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 431ea35..a725e0c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,9 +4,11 @@ on: pull_request: branches: [ main ] + jobs: hello_world_job: runs-on: windows-latest + continue-on-error: true name: Build and Analyse steps: - uses: actions/checkout@v2 @@ -17,16 +19,19 @@ jobs: with: java-version: '11' distribution: 'adopt' - - uses: actions/setup-node@v2 + - name: Use Node.js + uses: actions/setup-node@v2 with: node-version: '14' - - run: npm install + - name: Install dependencies + run: npm install - id: main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} LANG: JS - uses: applibgroup/HarmonyOs-build@v2.8 + uses: sasirekha111/HarmonyOs-build@v2.25 + continue-on-error: true - name: Upload Artifact uses: actions/upload-artifact@v2 with: diff --git a/build.gradle b/build.gradle index 4863002..337a3f3 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. apply plugin: 'com.huawei.ohos.app' -apply plugin: "org.sonarqube" + //For instructions on signature configuration, see https://developer.harmonyos.com/en/docs/documentation/doc-guides/ide_debug_device-0000001053822404#EN-US_TOPIC_0000001154985555__section1112183053510 ohos { @@ -23,7 +23,7 @@ buildscript { dependencies { classpath 'com.huawei.ohos:hap:3.0.3.4' classpath 'com.huawei.ohos:decctest:1.2.6.0' - classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.3" + } } @@ -39,23 +39,6 @@ allprojects { } } -sonarqube { - properties { - property "sonar.projectKey", "applibgroup_neumorphism" - property "sonar.organization", "applibgroup" - property "sonar.host.url", "https://sonarcloud.io/" - property "sonar.sources", "entry/src" - property "sonar.java.binaries", "entry/build" - } -} -sonarqube { - properties { - property "sonar.projectKey", "applibgroup_Neumorphism" - property "sonar.organization", "applibgroup" - property "sonar.host.url", "https://sonarcloud.io/" - property "sonar.sources", "entry/src" - property "sonar.java.binaries", "entry/build" - } -} +