From 0e9cf2121693c218622c709830b836c792f48bc8 Mon Sep 17 00:00:00 2001 From: ferhat elmas Date: Thu, 12 Mar 2020 12:08:40 +0100 Subject: [PATCH 1/2] Add javadoc copier --- .github/workflows/javadoc.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/javadoc.yml diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml new file mode 100644 index 00000000..51be8bc6 --- /dev/null +++ b/.github/workflows/javadoc.yml @@ -0,0 +1,33 @@ +name: Javadoc +on: + push: + branches: + - master + - javadoc +jobs: + javadoc: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + persist-credentials: false + - name: Set up JDK + uses: actions/setup-java@081536e + with: + java-version: 8 + - name: Set up Node.js 12 + uses: actions/setup-node@8de2f9f + with: + node-version: 12 + - name: Generate doc + run: gradle javadoc + # - name: Prepare to Deploy + # run: | + # npm ci + - name: Deploy + uses: JamesIves/github-pages-deploy-action@releases/v3 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BRANCH: gh-pages + FOLDER: build/docs/javadoc/ From 5e28f601ba82faba5a9ac9498c5c2ba769e441e3 Mon Sep 17 00:00:00 2001 From: ferhat elmas Date: Thu, 12 Mar 2020 13:04:07 +0100 Subject: [PATCH 2/2] Correct version --- .github/workflows/javadoc.yml | 4 ---- README.md | 4 ++-- build.gradle | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml index 51be8bc6..e4571672 100644 --- a/.github/workflows/javadoc.yml +++ b/.github/workflows/javadoc.yml @@ -3,7 +3,6 @@ on: push: branches: - master - - javadoc jobs: javadoc: runs-on: ubuntu-latest @@ -22,9 +21,6 @@ jobs: node-version: 12 - name: Generate doc run: gradle javadoc - # - name: Prepare to Deploy - # run: | - # npm ci - name: Deploy uses: JamesIves/github-pages-deploy-action@releases/v3 with: diff --git a/README.md b/README.md index 0b230bf4..7fe3af5c 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,14 @@ Add the following dependency to your pom.xml: io.getstream.client stream-java - 3.1.10 + 3.2.0 ``` or in your build.gradle: ```gradle -compile 'io.getstream.client:stream-java:3.1.10' +compile 'io.getstream.client:stream-java:3.2.0' ``` In case you want to download the artifact and put it manually into your project, diff --git a/build.gradle b/build.gradle index ec9241ec..8eb1e3f4 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ plugins { } group 'io.getstream.client' -version = '3.1.10' +version = '3.2.0' dependencies { sourceCompatibility = 1.8