Skip to content

Commit 1f88068

Browse files
authored
Create build-test.yml
1 parent b9b594a commit 1f88068

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build-test.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build & Test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout Repository
17+
uses: actions/checkout@v1
18+
- name: Set up JDK 1.8
19+
uses: actions/setup-java@v1
20+
with:
21+
java-version: 1.8
22+
- name: Build & Test
23+
run: mvn clean package
24+
- name: Copy Release Artifacts
25+
run: |
26+
mkdir target/release
27+
cp pom.xml target/*.jar target/release/
28+
- name: Upload Artifacts
29+
uses: actions/upload-artifact@v1
30+
with:
31+
name: ogc-api-features-json-java
32+
path: target/release

0 commit comments

Comments
 (0)