Skip to content

Commit 844731f

Browse files
committed
fix: pi build order of operations
1 parent 205d0a1 commit 844731f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/pi_build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,21 @@ jobs:
6262
uses: actions/setup-python@v5
6363
with:
6464
python-version: ${{ env.PYTHON_VERSION }}
65-
65+
6666
- name: Install Dependencies
6767
run: python -m pip install pip-tools
6868

69+
- name: Clone ${{ matrix.app }}
70+
run: git clone https://oauth2:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository_owner }}/${{ matrix.app }}.git
71+
6972
- name: Compile Requirements
70-
run: pip-compile submodules/parent-images/requirements/${{ matrix.parent_image_type }}-requirements.in
73+
run: |
74+
pip-compile \
75+
--output-file ${{ matrix.app }}/requirements/${{ matrix.parent_image_type }}-requirements.txt \
76+
submodules/parent-images/requirements/${{ matrix.parent_image_type }}-requirements.in
7177
72-
- name: Create PR - ${{ matrix.app }}
78+
- name: Perform Edit/Git Operations
7379
run: |
74-
git clone https://oauth2:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository_owner }}/${{ matrix.app }}.git
7580
cd ${{ matrix.app }}
7681
7782
git config user.email "devtools@kern.ai"

0 commit comments

Comments
 (0)