Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit b4e460f

Browse files
Generate and publish lib code (#32)
* Generate and publish lib code * Update lock file * Update lock file * Call protoc from grpc tools * Update workflow
1 parent 61cfefb commit b4e460f

File tree

3 files changed

+109
-90
lines changed

3 files changed

+109
-90
lines changed

.github/workflows/compilation.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test files compilation
1+
name: Compile test files
22

33
on:
44
push:
@@ -54,6 +54,10 @@ jobs:
5454
shell: bash
5555
run: poetry run poe generate
5656

57+
- name: Compile the lib
58+
shell: bash
59+
run: poetry run poe generate_lib
60+
5761
- name: Publish the compiled files
5862
shell: bash
5963
run: |
@@ -62,6 +66,7 @@ jobs:
6266
cp -r tests/output_betterproto tests_betterproto
6367
cp -r tests/output_betterproto_pydantic tests_betterproto_pydantic
6468
cp -r tests/output_reference tests_reference
65-
git add tests_betterproto tests_betterproto_pydantic tests_reference
69+
cp -r tests/output_lib lib
70+
git add tests_betterproto tests_betterproto_pydantic tests_reference lib
6671
git commit -m "Add compilation output"
6772
git push --force origin compiled-test-files

0 commit comments

Comments
 (0)