Skip to content

Commit 5d6a412

Browse files
committed
Create maven.yml
1 parent 20b9b46 commit 5d6a412

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/maven.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Java CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up JDK 1.8
13+
uses: actions/setup-java@v1
14+
with:
15+
java-version: 1.8
16+
- name: Build with Maven
17+
run: mvn -B package --file pom.xml
18+
- name: Upload artifact
19+
uses: actions/upload-artifact@v2
20+
with:
21+
# Artifact name
22+
name: NoteblockAPI
23+
# Directory containing files to upload
24+
path: target/*.jar

0 commit comments

Comments
 (0)