We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47d1ecb commit e4ccf4bCopy full SHA for e4ccf4b
.github/workflows/generate.yml
@@ -0,0 +1,30 @@
1
+name: Generate Thrift Code
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - develop
7
+ pull_request:
8
9
10
11
+jobs:
12
+ generate:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v3
18
19
+ - name: Install Thrift
20
+ run: sudo apt-get install -y thrift-compiler
21
22
+ - name: Set up Python
23
+ uses: actions/setup-python@v4
24
+ with:
25
+ python-version: '3.x'
26
27
+ - name: Run generate.sh
28
+ run: |
29
+ chmod +x ./generate.sh
30
+ ./generate.sh
generate.sh
@@ -2,4 +2,4 @@
thrift --gen py -out ./ ./idl/*.thrift
-python type_generator.py
+python3 type_generator.py
0 commit comments