Skip to content

Commit 0eaabe4

Browse files
committed
CI: Fix upload bugs.
1 parent 28addea commit 0eaabe4

File tree

1 file changed

+27
-6
lines changed

1 file changed

+27
-6
lines changed

.github/workflows/cmake-multi-platform.yml

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
arch: x86_64
2020
c_compiler: cl
2121
cpp_compiler: cl
22-
22+
2323
# Windows ARM64
2424
- os: windows-11-arm
2525
arch: aarch64
@@ -67,14 +67,35 @@ jobs:
6767
-DCMAKE_BUILD_TYPE=Release
6868
-S ${{ github.workspace }}
6969
70-
- name: Build Patcher
71-
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config Release --target DualBootKernelPatcher
70+
- name: Build Patcher and other tools
71+
if: ${{ matrix.os != 'ubuntu-latest' || matrix.os != 'ubuntu-24.04-arm' }}
72+
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config Release --target DualBootKernelPatcher DualBootPatchRemover HDRTool
73+
74+
- name: Build ASM Codes
75+
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm' }}
76+
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config Release
7277

73-
- name: Upload Artifact
78+
- name: Upload Tools
7479
uses: actions/upload-artifact@v4
7580
with:
76-
name: DualBootKernelPatcher-${{ matrix.os }}-${{ matrix.arch }}
81+
name: Tools-${{ matrix.os }}-${{ matrix.arch }}
7782
path: |
7883
${{ steps.strings.outputs.build-output-dir }}/**/DualBootKernelPatcher*
79-
${{ steps.strings.outputs.build-output-dir }}/**/DualBootKernelRemover*
84+
${{ steps.strings.outputs.build-output-dir }}/**/DualBootPatchRemover*
8085
${{ steps.strings.outputs.build-output-dir }}/**/HDRTool*
86+
87+
- name: Upload ASM Bins
88+
uses: actions/upload-artifact@v4
89+
if: ${{ matrix.os == 'ubuntu-latest' }}
90+
with:
91+
name: Shellcodes
92+
path: |
93+
${{ steps.strings.outputs.build-output-dir }}/ShellCode/*
94+
95+
- name: Upload Configs
96+
uses: actions/upload-artifact@v4
97+
if: ${{ matrix.os == 'ubuntu-latest' }}
98+
with:
99+
name: Configs
100+
path: |
101+
Config/*

0 commit comments

Comments
 (0)