We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6b37012 + f24f600 commit af273c3Copy full SHA for af273c3
1 file changed
.github/workflows/onpush.yml
@@ -0,0 +1,33 @@
1
+name: Java CI
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - uses: actions/checkout@v2
11
+ - name: Set up JDK 17
12
+ uses: actions/setup-java@v2
13
+ with:
14
+ java-version: '17'
15
+ distribution: 'adopt'
16
+ - name: Build with Maven
17
+ run: mvn --batch-mode --update-snapshots -DskipTests verify
18
+ - name: Upload artifacts
19
+ uses: actions/upload-artifact@v2
20
21
+ name: OnServerInit.jar
22
+ path: target/OnServerInit-*.jar
23
+ test:
24
25
26
27
28
29
30
31
32
+ - name: Run Tests with Maven
33
+ run: mvn test
0 commit comments