Skip to content

Commit a2e78d3

Browse files
committed
add python
1 parent c1f691f commit a2e78d3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/autogen-remote-changes.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,25 @@ on: [push, pull_request]
1010
jobs:
1111
update-sdk:
1212
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: ["3.11"]
1316
steps:
1417
- name: Checkout repository
1518
run: |
1619
git clone https://github.com/${{ github.repository }} repo
1720
cd repo
1821
git config --global user.name "github-actions[bot]"
1922
git config --global user.email "github-actions[bot]@users.noreply.github.com"
23+
- name: Set up Python ${{ matrix.python-version }}
24+
uses: actions/setup-python@v5
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
- name: Install dependencies
28+
run: |
29+
cd repo
30+
python -m pip install --upgrade pip
31+
pip install -r requirements.txt
2032
- name: Pull and generate SDK
2133
run: |
2234
cd repo

0 commit comments

Comments
 (0)