Skip to content

make Protobuf optional #496

make Protobuf optional

make Protobuf optional #496

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup ASDF
uses: equisoft-actions/with-asdf-vm@v2
- name: Cache local Maven repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Run the Maven verify phase
env:
PROTO_GENERATION: true
REQUIRE_PROTO_UP_TO_DATE: true
run: |
mvn -v
./mvnw clean install
./mvnw javadoc:javadoc -P javadoc # just to check if javadoc is generated