Skip to content

Commit 3e07469

Browse files
committed
Update individual artifacts
1 parent 5aa2b2a commit 3e07469

File tree

1 file changed

+61
-8
lines changed

1 file changed

+61
-8
lines changed

.github/workflows/build-doxygen.yml

Lines changed: 61 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,12 @@ jobs:
425425
-Dstatic_libxapian=YES \
426426
-Dforce_qt=Qt6 \
427427
-DCMAKE_PREFIX_PATH="${{ github.workspace }}/llvm-install;${{ github.workspace }}/qt6-install;${{ github.workspace }}/xapian-install"
428-
echo "=== done ==="
428+
shell: bash
429+
430+
- name: Build Doxygen (Linux)
431+
if: matrix.platform == 'linux'
432+
run: |
433+
cd doxygen/build
429434
make -j$(nproc)
430435
make docs
431436
make install
@@ -457,9 +462,14 @@ jobs:
457462
-Dstatic_libxapian=YES \
458463
-Dforce_qt=Qt6 \
459464
-DCMAKE_PREFIX_PATH="${{ github.workspace }}/llvm-install;${{ github.workspace }}/qt6-install;${{ github.workspace }}/xapian-install"
460-
echo "=== done ==="
461-
make -j$(sysctl -n hw.logicalcpu)
462-
shell: bash
465+
shell: bash
466+
467+
- name: Build Doxygen (macOS)
468+
if: matrix.platform == 'macos'
469+
run: |
470+
cd doxygen/build
471+
cmake --build . --parallel
472+
shell: bash
463473

464474
- name: Configure CMake for Doxygen (Windows)
465475
if: matrix.platform == 'windows'
@@ -575,6 +585,7 @@ jobs:
575585
/usr/sbin/diskutil rename image Doxygen
576586
hdiutil detach image
577587
hdiutil convert -format UDCO -o installer/Doxygen-${{ steps.doxygen-version.outputs.version }}.dmg macosx/template.sparseimage
588+
xattr -c installer/Doxygen-${{ steps.doxygen-version.outputs.version }}.dmg
578589
579590
shell: bash
580591

@@ -618,12 +629,54 @@ jobs:
618629
tar -C package -z -c -v -f installer/doxygen-$VERSION.linux.bin.tar.gz doxygen-$VERSION
619630
shell: bash
620631

621-
- name: Upload Doxygen build (Windows/macOS)
632+
- name: Upload Doxygen build (Windows/setup.exe)
633+
if: matrix.platform == 'windows'
634+
uses: actions/upload-artifact@v4
635+
with:
636+
name: doxygen-${{ steps.doxygen-version.outputs.version }}-setup.exe
637+
path: installer/doxygen-${{ steps.doxygen-version.outputs.version }}-setup.exe
638+
639+
- name: Upload Doxygen build (Windows/doxygen-x64.zip)
640+
if: matrix.platform == 'windows'
641+
uses: actions/upload-artifact@v4
642+
with:
643+
name: doxygen-${{ steps.doxygen-version.outputs.version }}-x64.bin.zip
644+
path: installer/doxygen-${{ steps.doxygen-version.outputs.version }}-x64.bin.zip
645+
646+
- name: Upload Doxygen build (Windows/doxygen_manual.chm)
647+
if: matrix.platform == 'windows'
648+
uses: actions/upload-artifact@v4
649+
with:
650+
name: doxygen_manual-${{ steps.doxygen-version.outputs.version }}.chm.zip
651+
path: installer/doxygen-${{ steps.doxygen-version.outputs.version }}.chm.zip
652+
653+
- name: Upload Doxygen build (macOS/doxygen.dmg)
654+
if: matrix.platform == 'macos'
655+
uses: actions/upload-artifact@v4
656+
with:
657+
name: Doxygen-${{ steps.doxygen-version.outputs.version }}.dmg
658+
path: installer/Doxygen-${{ steps.doxygen-version.outputs.version }}.dmg
659+
660+
- name: Upload Doxygen build (Linux/doxygen.src.tar.gz)
661+
if: matrix.platform == 'linux'
662+
uses: actions/upload-artifact@v4
663+
with:
664+
name: doxygen-${{ steps.doxygen-version.outputs.version }}.src.tar.gz
665+
path: installer/doxygen-${{ steps.doxygen-version.outputs.version }}.src.tar.gz
666+
667+
- name: Upload Doxygen build (Linux/doxygen.linux.bin.tar.gz)
668+
if: matrix.platform == 'linux'
669+
uses: actions/upload-artifact@v4
670+
with:
671+
name: doxygen-${{ steps.doxygen-version.outputs.version }}.linux.bin.tar.gz
672+
path: installer/doxygen-${{ steps.doxygen-version.outputs.version }}.linux.tar.gz
673+
674+
- name: Upload Doxygen build (Linux/doxygen_manual.pdf.zip)
675+
if: matrix.platform == 'linux'
622676
uses: actions/upload-artifact@v4
623677
with:
624-
name: doxygen-${{ steps.doxygen-version.outputs.version }}-${{ matrix.os }}
625-
path: installer
626-
retention-days: 30
678+
name: doxygen_manual-${{ steps.doxygen-version.outputs.version }}.pdf.zip
679+
path: installer/doxygen_manual-${{ steps.doxygen-version.outputs.version }}.pdf.zip
627680

628681
- name: Display build summary
629682
run: |

0 commit comments

Comments
 (0)