Skip to content

Commit c28c79e

Browse files
Yeela LifshitzYeela Lifshitz
authored andcommitted
Add checkout step for cm organization in action.yml
1 parent 37572df commit c28c79e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,15 @@ runs:
151151
ref: ${{ fromJSON(fromJSON(inputs.client_payload)).cmRepoRef }}
152152
path: gitstream/cm/
153153

154+
- name: Checkout cm org
155+
uses: actions/checkout@v4
156+
if: ${{ fromJSON(fromJSON(inputs.client_payload)).hasCmOrg == true && (env.SKIP_GIT_CLONE == 'false' || env.CACHE_DOWNLOAD_FAILED == 'true')}}
157+
with:
158+
repository: 'cm/cm'
159+
ref: ${{ fromJSON(fromJSON(inputs.client_payload)).cmOrgRef }}
160+
path: gitstream/cm-org/
161+
162+
154163
- name: Volume folder
155164
shell: bash
156165
run: mv gitstream code

0 commit comments

Comments
 (0)