Skip to content

Commit de48083

Browse files
committed
Add github action.
1 parent b6369b7 commit de48083

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/workflows/build.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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-js.zip
19+
uses: actions/upload-artifact@v2
20+
with:
21+
name: geoscript-js.zip
22+
path: target/geoscript-js-*.zip
23+
- name: Upload geoscript-js-app.jar
24+
uses: actions/upload-artifact@v2
25+
with:
26+
name: geoscript-js-app
27+
path: target/geoscript-js-*-app.jar

README.md

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

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

57
## GeoScript in JavaScript

0 commit comments

Comments
 (0)