Skip to content

Commit c1ee067

Browse files
authored
fix: missing the right phase of trpc gen-code (#24)
* fix: missing the right phase of trpc gen-code --------- Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
1 parent 0b55cca commit c1ee067

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ jobs:
88
runs-on: ubuntu-20.04
99
steps:
1010
- uses: actions/checkout@v4
11+
- name: Set up JDK 17
12+
uses: actions/setup-java@v3
13+
with:
14+
java-version: '17'
15+
distribution: 'temurin'
16+
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
17+
- name: Maven Package
18+
run: mvn package
1119
- name: Image
1220
run: make build-image
1321
- name: Run e2e

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
<version>${trpc-maven-plugin.version}</version>
6767
<executions>
6868
<execution>
69+
<phase>validate</phase>
6970
<goals>
7071
<goal>gen-code</goal>
7172
</goals>

0 commit comments

Comments
 (0)