Skip to content

Commit 4f14813

Browse files
authored
Merge pull request #1 from kafkaesque-io/ci
add github action
2 parents 09925f7 + 923140e commit 4f14813

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

.github/workflows/maven.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: ci
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
# Also trigger on page_build, as well as release created events
8+
page_build:
9+
release:
10+
types: # This configuration does not affect the page_build event above
11+
- created
12+
13+
jobs:
14+
build_java:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Check out code
18+
uses: actions/checkout@v1
19+
with:
20+
fetch-depth: 1
21+
22+
- name: Set up JDK 1.8
23+
uses: actions/setup-java@v1
24+
with:
25+
java-version: 1.8
26+
27+
- name: Build with Maven
28+
run: |
29+
cd ./java
30+
mvn -B package --file pom.xml

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ In .m2/settings.xml,
2727
```
2828

2929
In pom.xml,
30-
```maven
30+
```pom.xml
3131
<dependency>
3232
<groupId>io.kafkaesque.pulsar</groupId>
3333
<artifactId>pulsar-client-plugin</artifactId>
@@ -36,7 +36,8 @@ In pom.xml,
3636

3737
```
3838

39-
``` java
39+
Java Client example:
40+
``` example.java
4041
String domain = "https://<your auth0 domain>.auth0.com/oauth/token";
4142
String clientId = "";
4243
String clientSecret = "";

0 commit comments

Comments
 (0)