We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f1a2be1 + 7eb5311 commit 7bc0e91Copy full SHA for 7bc0e91
.github/workflows/maven.yml
@@ -0,0 +1,33 @@
1
+name: Maven Build
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ build:
7
8
+ runs-on: ubuntu-latest
9
10
+ # ViaPotions requires Java 16 to compile.
11
+ # However, it works in Java 8 up to Java 16.
12
+ strategy:
13
+ matrix:
14
+ java: [16]
15
16
+ steps:
17
+ - name: Checkout Repository
18
+ uses: actions/checkout@v2
19
20
+ - name: Set up JDK ${{ matrix.java }}
21
+ uses: actions/setup-java@v2
22
+ with:
23
+ java-version: ${{ matrix.java }}
24
+ distribution: 'adopt'
25
26
+ - name: Build with Maven
27
+ run: mvn -B package --file pom.xml
28
29
+ - name: Upload artifact
30
+ uses: actions/[email protected]
31
32
+ name: ViaPotions
33
+ path: target/ViaPotions.jar
0 commit comments