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

Commit af277a5

Browse files
committed
Generate and publish lib code
1 parent 61cfefb commit af277a5

File tree

3 files changed

+111
-88
lines changed

3 files changed

+111
-88
lines changed

.github/workflows/compilation.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches:
66
- main
7+
pull_request: # TODEL
8+
branches:
9+
- '**'
10+
711

812
permissions:
913
contents: write
@@ -54,6 +58,10 @@ jobs:
5458
shell: bash
5559
run: poetry run poe generate
5660

61+
- name: Compile the lib
62+
shell: bash
63+
run: poetry run poe generate_lib
64+
5765
- name: Publish the compiled files
5866
shell: bash
5967
run: |
@@ -62,6 +70,7 @@ jobs:
6270
cp -r tests/output_betterproto tests_betterproto
6371
cp -r tests/output_betterproto_pydantic tests_betterproto_pydantic
6472
cp -r tests/output_reference tests_reference
65-
git add tests_betterproto tests_betterproto_pydantic tests_reference
73+
cp -r tests/output_lib lib
74+
git add tests_betterproto tests_betterproto_pydantic tests_reference lib
6675
git commit -m "Add compilation output"
6776
git push --force origin compiled-test-files

0 commit comments

Comments
 (0)