We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0 parents commit 90ed677Copy full SHA for 90ed677
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,33 @@
1
+# This workflow will build a Harmony OS project with Gradle and analyse the code using Sonar cloud.
2
+
3
+name: Build
4
5
+on:
6
+ push:
7
+ branches: [ main ]
8
+ pull_request:
9
10
11
+jobs:
12
+ hello_world_job:
13
+ runs-on: windows-latest
14
+ name: Build and Analyse
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ with:
18
+ fetch-depth: 0
19
+ - name: Set up JDK 11
20
+ uses: actions/setup-java@v2
21
22
+ java-version: '11'
23
+ distribution: 'adopt'
24
+ - id: main
25
+ env:
26
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
28
+ uses: applibgroup/HarmonyOsSdk@v1.2
29
+ - name: Upload Artifact
30
+ uses: actions/upload-artifact@v2
31
32
+ name: assets-for-download
33
+ path: build\outputs\hap\debug\phone
0 commit comments