|
6 | 6 | - 'v*' |
7 | 7 | workflow_dispatch: |
8 | 8 |
|
9 | | - |
10 | 9 | permissions: |
11 | 10 | contents: write |
12 | 11 |
|
@@ -212,12 +211,20 @@ jobs: |
212 | 211 | - name: Install dependencies |
213 | 212 | run: pnpm install |
214 | 213 |
|
215 | | - - name: Download DevTools Frontend |
| 214 | + - name: Download DevTools Frontend (Push) |
| 215 | + if: github.event_name == 'push' |
216 | 216 | uses: actions/download-artifact@v4 |
217 | 217 | with: |
218 | 218 | name: devtools-frontend-lynx |
219 | 219 | path: temp-frontend |
220 | 220 |
|
| 221 | + - name: Download DevTools Frontend (Workflow Dispatch) |
| 222 | + if: github.event_name == 'workflow_dispatch' |
| 223 | + uses: lynx-infra/download-artifact@79d9914484f933089c2840552cf439bac85debad |
| 224 | + with: |
| 225 | + name: devtools-frontend-lynx |
| 226 | + path: temp-frontend |
| 227 | + |
221 | 228 | - name: Extract DevTools Frontend |
222 | 229 | run: | |
223 | 230 | mkdir -p packages/devtools-frontend-lynx/output |
@@ -327,12 +334,20 @@ jobs: |
327 | 334 | - name: Install dependencies |
328 | 335 | run: pnpm install |
329 | 336 |
|
330 | | - - name: Download DevTools Frontend |
| 337 | + - name: Download DevTools Frontend (Push) |
| 338 | + if: github.event_name == 'push' |
331 | 339 | uses: actions/download-artifact@v4 |
332 | 340 | with: |
333 | 341 | name: devtools-frontend-lynx |
334 | 342 | path: temp-frontend |
335 | 343 |
|
| 344 | + - name: Download DevTools Frontend (Workflow Dispatch) |
| 345 | + if: github.event_name == 'workflow_dispatch' |
| 346 | + uses: lynx-infra/download-artifact@79d9914484f933089c2840552cf439bac85debad |
| 347 | + with: |
| 348 | + name: devtools-frontend-lynx |
| 349 | + path: temp-frontend |
| 350 | + |
336 | 351 | - name: Extract DevTools Frontend |
337 | 352 | shell: pwsh |
338 | 353 | run: | |
|
0 commit comments