Skip to content

Commit 1a2a6b0

Browse files
committed
ci: simplify pages job
1 parent 75ecebd commit 1a2a6b0

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -410,14 +410,13 @@ jobs:
410410

411411
pages:
412412
needs:
413-
- plan
414413
- extension-package
415414
- test
416415
- archlinux-package
417416
- archlinux-package-check
418417
- archlinux-installed-test
419418

420-
if: ${{ !cancelled() && needs.extension-package.result == 'success' }}
419+
if: ${{ !cancelled() }}
421420
runs-on: ubuntu-24.04
422421
timeout-minutes: 5
423422

@@ -428,26 +427,12 @@ jobs:
428427

429428
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
430429
with:
431-
name: archlinux-package
432-
continue-on-error: true
433-
434-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
435-
with:
436-
name: archlinux-package-check
437-
continue-on-error: true
438-
if: fromJSON(needs.plan.outputs.need-tests)
439-
440-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
441-
with:
442-
pattern: '*-reports'
443-
merge-multiple: false
444-
continue-on-error: true
445-
if: fromJSON(needs.plan.outputs.need-tests)
430+
pattern: '!{extension-package,github-pages}'
446431

447432
- run: >-
448-
find . -type d -exec bash -c
449-
'tree "$0" -h --du -H "/${GITHUB_REPOSITORY#*/}/${0:2}" -o "$0/index.html"'
450-
'{}' ';'
433+
find . -type d -exec
434+
bash -c 'tree "$0" -h --du -D -H "/${GITHUB_REPOSITORY#*/}/${0:2}" -o "$0/index.html"' '{}'
435+
';'
451436
452437
- uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
453438
with:

0 commit comments

Comments
 (0)