From 9269cfda64c5cf68a3af9619af0bc7c67353d74e Mon Sep 17 00:00:00 2001 From: Bing Li Date: Thu, 18 Jan 2024 14:13:06 -0800 Subject: [PATCH] verify java doc --- .../precommit-java-doc-validation.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/precommit-java-doc-validation.yml diff --git a/.github/workflows/precommit-java-doc-validation.yml b/.github/workflows/precommit-java-doc-validation.yml new file mode 100644 index 00000000..5ddc7499 --- /dev/null +++ b/.github/workflows/precommit-java-doc-validation.yml @@ -0,0 +1,23 @@ +name: precommit test - Java Doc Validation +on: + push: + branches: [ main ] + pull_request: + branches: '**' + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v2 + - name: Install Java + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Decrypt profile.properties + run: .github/scripts/decrypt_profile.sh + env: + PROFILE_PASSWORD: ${{ secrets.PROFILE_PASSWORD }} + - name: Run test + run: scripts/generateJavaDoc.sh