diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 7b1f39e..e36a454 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -8,6 +8,14 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
+ - name: Set up JDK 17
+ uses: actions/setup-java@v3
+ with:
+ java-version: '17'
+ distribution: 'temurin'
+ server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
+ - name: Maven Package
+ run: mvn package
- name: Image
run: make build-image
- name: Run e2e
diff --git a/pom.xml b/pom.xml
index 6d0a9f0..ded614c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,6 +66,7 @@
${trpc-maven-plugin.version}
+ validate
gen-code