fix Protoc build #484
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: asdf-vm/actions/install@v3 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 17 | |
| distribution: temurin | |
| cache: 'maven' | |
| - name: Run the Maven verify phase | |
| env: | |
| PROTO_GENERATION: true | |
| REQUIRE_PROTO_UP_TO_DATE: true | |
| run: | | |
| ./mvnw clean install | |
| ./mvnw javadoc:javadoc -P javadoc # just to check if javadoc is generated |