Skip to content

Commit 193945b

Browse files
authored
Add GitHub action to build GitWave.zip
1 parent 815cb86 commit 193945b

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/maven.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Build and Package
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ${{ matrix.os }}
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest, macos-latest, windows-latest]
17+
java-version: [11]
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v2
22+
23+
- name: Set up JDK
24+
uses: actions/setup-java@v2
25+
with:
26+
java-version: ${{ matrix.java-version }}
27+
distribution: 'adopt'
28+
29+
- name: Build with Maven
30+
run: mvn package
31+
32+
- name: Upload Artifact
33+
if: success()
34+
uses: actions/upload-artifact@v2
35+
with:
36+
name: GitWave.zip
37+
path: target/GitWave.zip

0 commit comments

Comments
 (0)