File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Qodana
2
+ on :
3
+ workflow_dispatch :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - master
8
+ - develop
9
+
10
+ jobs :
11
+ qodana :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v3
15
+ with :
16
+ fetch-depth : 0
17
+ - name : ' Qodana Scan'
18
+
Original file line number Diff line number Diff line change
1
+ name : Java CI with Maven
2
+ ' on ' :
3
+ push :
4
+ branches :
5
+ - master
6
+ - develop
7
+ pull_request :
8
+ types :
9
+ - opened
10
+ - reopened
11
+ - synchronize
12
+ - ready_for_review
13
+ - unlocked
14
+ branches :
15
+ - master
16
+ - develop
17
+
18
+ jobs :
19
+ build :
20
+ runs-on : ubuntu-latest
21
+ steps :
22
+ - uses : actions/checkout@v3
23
+ - name : Set up Java 16
24
+ uses : actions/setup-java@v3
25
+ with :
26
+ java-version : ' 16'
27
+ distribution : adopt
28
+ - name : Build with Maven
29
+ run : mvn --batch-mode --update-snapshots verify
30
+ - name : Create necessary directories
31
+ run : mkdir staging && cp target/*.jar staging
32
+ - name : Upload artifact
33
+ uses : actions/upload-artifact@v3
34
+ with :
35
+ name : ' ${{ github.event.repository.name }}-${{ github.sha }}'
36
+ path : staging
You can’t perform that action at this time.
0 commit comments