Skip to content

Commit 52ec08c

Browse files
committed
Add github action
1 parent 55a5209 commit 52ec08c

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Maven Build
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
branches: [ master ]
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
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 geoscript-py-app.jar
19+
uses: actions/upload-artifact@v2
20+
with:
21+
name: geoscript-py-app
22+
path: target/geoscript-py-app-*.jar

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[![Build Status](https://travis-ci.org/geoscript/geoscript-py.svg?branch=master)](https://travis-ci.org/geoscript/geoscript-py)
22

3+
[![Build Status](https://github.com/geoscript/geoscript-py/workflows/Maven%20Build/badge.svg)](https://github.com/geoscript/geoscript-py/actions)
4+
35
geoscript-py README
46
===================
57

0 commit comments

Comments
 (0)