Skip to content

Commit 8a56dc9

Browse files
authored
Create maven-deploy.yml
1 parent 69e99f1 commit 8a56dc9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/maven-deploy.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Maven Deploy
2+
on: [push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- name: Set up JDK 1.8
9+
uses: actions/setup-java@v1
10+
with:
11+
java-version: 1.8
12+
settings-path: ${{ github.workspace }}/build
13+
- name: Build
14+
run: mvn -B package --file pom.xml
15+
- name: Deploy to JavaWebStack Repository
16+
run: mvn deploy

0 commit comments

Comments
 (0)