@@ -140,24 +140,34 @@ jobs:
140140 include :
141141 - name : Check generated demos (1/10)
142142 command : CONSTEL=1/10 pnpm run make-demos-bundle --framework="Angular"
143+ index : 1
143144 - name : Check generated demos (2/10)
144145 command : CONSTEL=2/10 pnpm run make-demos-bundle --framework="Angular"
146+ index : 2
145147 - name : Check generated demos (3/10)
146148 command : CONSTEL=3/10 pnpm run make-demos-bundle --framework="Angular"
149+ index : 3
147150 - name : Check generated demos (4/10)
148151 command : CONSTEL=4/10 pnpm run make-demos-bundle --framework="Angular"
152+ index : 4
149153 - name : Check generated demos (5/10)
150154 command : CONSTEL=5/10 pnpm run make-demos-bundle --framework="Angular"
155+ index : 5
151156 - name : Check generated demos (6/10)
152157 command : CONSTEL=6/10 pnpm run make-demos-bundle --framework="Angular"
158+ index : 6
153159 - name : Check generated demos (7/10)
154160 command : CONSTEL=7/10 pnpm run make-demos-bundle --framework="Angular"
161+ index : 7
155162 - name : Check generated demos (8/10)
156163 command : CONSTEL=8/10 pnpm run make-demos-bundle --framework="Angular"
164+ index : 8
157165 - name : Check generated demos (9/10)
158166 command : CONSTEL=9/10 pnpm run make-demos-bundle --framework="Angular"
167+ index : 9
159168 - name : Check generated demos (10/10)
160169 command : CONSTEL=10/10 pnpm run make-demos-bundle --framework="Angular"
170+ index : 10
161171 steps :
162172 - name : Get sources
163173 uses : actions/checkout@v4
@@ -223,10 +233,10 @@ jobs:
223233 run : pnpm run post-process-angular
224234
225235 - name : Save publish-demos directory for Angular as an artifact
226- uses : actions/upload-artifact@v3
236+ uses : actions/upload-artifact@v4
227237 with :
228- name : publish-demos
229- path : ./apps/demos/publish-demos
238+ name : publish-demos-angular-${{ matrix.index }}
239+ path : ./apps/demos/publish-demos/
230240
231241 deploy :
232242 runs-on : ubuntu-latest
@@ -237,8 +247,16 @@ jobs:
237247 with :
238248 name : publish-demos
239249 path : ./apps/demos/publish-demos
250+
251+ - name : Download publish-demos artifact
252+ uses : actions/download-artifact@v4
253+ with :
254+ pattern : publish-demos-angular-*
255+ merge-multiple : true
256+ path : ./apps/demos/publish-demos/
257+
240258 - name : Deploy to gh-pages
241- uses : peaceiris/actions-gh-pages@v3
259+ uses : peaceiris/actions-gh-pages@v4
242260 with :
243261 github_token : ${{ secrets.GITHUB_TOKEN }}
244262 publish_dir : ./apps/demos/publish-demos
0 commit comments