diff --git a/.github/workflows/precommit-java-doc-validation.yml b/.github/workflows/precommit-java-doc-validation.yml new file mode 100644 index 00000000..05709a7e --- /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 \ No newline at end of file