From 74e5ac61667049db92792cd9b682a607406e469f Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Mon, 4 Jan 2021 12:02:02 +0100 Subject: [PATCH] Publish documentation, update tdlib --- .github/workflows/tdapi.yaml | 9 +++++---- implementations/tdlight | 2 +- .../github-workflows/deploy-javadoc.sh | 15 +++++++++++++++ src/main/tdapi-project-src/pom.template.xml | 6 +++++- 4 files changed, 26 insertions(+), 6 deletions(-) create mode 100755 scripts/continuous-integration/github-workflows/deploy-javadoc.sh diff --git a/.github/workflows/tdapi.yaml b/.github/workflows/tdapi.yaml index a1e9ef1..1712413 100644 --- a/.github/workflows/tdapi.yaml +++ b/.github/workflows/tdapi.yaml @@ -98,13 +98,13 @@ jobs: run: | echo "REVISION: $REVISION" - source ./scripts/continuous-integration/github-workflows/install-dependencies.sh + ./scripts/continuous-integration/github-workflows/install-dependencies.sh - name: Build shell: bash run: | echo "REVISION: $REVISION" - source ./scripts/continuous-integration/github-workflows/build-tdapi.sh + ./scripts/continuous-integration/github-workflows/build-tdapi.sh - id: getfilename shell: bash run: echo "::set-output name=file::$(cd generated/target; ls tdli*-api-*.jar)" @@ -121,7 +121,7 @@ jobs: run: | echo "REVISION: $REVISION" - source ./scripts/continuous-integration/github-workflows/deploy-snapshot.sh + ./scripts/continuous-integration/github-workflows/deploy-snapshot.sh env: MAVEN_USERNAME: ${{ secrets.MCHV_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MCHV_TOKEN }} @@ -131,7 +131,8 @@ jobs: run: | echo "REVISION: $REVISION" - source ./scripts/continuous-integration/github-workflows/deploy-release.sh + ./scripts/continuous-integration/github-workflows/deploy-release.sh + ./scripts/continuous-integration/github-workflows/deploy-javadoc.sh env: MAVEN_USERNAME: ${{ secrets.MCHV_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MCHV_TOKEN }} diff --git a/implementations/tdlight b/implementations/tdlight index cf3cc7b..5686d57 160000 --- a/implementations/tdlight +++ b/implementations/tdlight @@ -1 +1 @@ -Subproject commit cf3cc7b1d3879b384508d33d3011e170487677ba +Subproject commit 5686d574f842f74a21897faacb4425471a216cb0 diff --git a/scripts/continuous-integration/github-workflows/deploy-javadoc.sh b/scripts/continuous-integration/github-workflows/deploy-javadoc.sh new file mode 100755 index 0000000..f026dfa --- /dev/null +++ b/scripts/continuous-integration/github-workflows/deploy-javadoc.sh @@ -0,0 +1,15 @@ +#!/bin/bash -e +set -e + +cd ./generated/target/apidocs +find . -name '*.html' -exec sed -i -r 's/<\/title>/<\/title>\n