Skip to content

Commit

Permalink
Merge pull request #1 from kafkaesque-io/ci
Browse files Browse the repository at this point in the history
add github action
  • Loading branch information
zzzming authored Jan 25, 2020
2 parents 09925f7 + 923140e commit 4f14813
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: ci
on:
push:
branches:
- master
pull_request:
# Also trigger on page_build, as well as release created events
page_build:
release:
types: # This configuration does not affect the page_build event above
- created

jobs:
build_java:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
with:
fetch-depth: 1

- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Build with Maven
run: |
cd ./java
mvn -B package --file pom.xml
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ In .m2/settings.xml,
```

In pom.xml,
```maven
```pom.xml
<dependency>
<groupId>io.kafkaesque.pulsar</groupId>
<artifactId>pulsar-client-plugin</artifactId>
Expand All @@ -36,7 +36,8 @@ In pom.xml,

```

``` java
Java Client example:
``` example.java
String domain = "https://<your auth0 domain>.auth0.com/oauth/token";
String clientId = "";
String clientSecret = "";
Expand Down

0 comments on commit 4f14813

Please sign in to comment.