Skip to content

Commit a64914f

Browse files
Create main.yml
0 parents  commit a64914f

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/main.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
on:
2+
push:
3+
branches: [ main ]
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
hello_world_job:
9+
runs-on: windows-latest
10+
name: Build and Analyse
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- name: Set up JDK 11
16+
uses: actions/setup-java@v2
17+
with:
18+
java-version: '11'
19+
distribution: 'adopt'
20+
- id: main
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
24+
uses: applibgroup/[email protected]
25+
- name: Upload Artifact
26+
uses: actions/upload-artifact@v2
27+
with:
28+
name: assets-for-download
29+
path: build\outputs\hap\debug\phone

0 commit comments

Comments
 (0)