Skip to content

Commit bd5d836

Browse files
committed
change workflow boot
1 parent 07c49f5 commit bd5d836

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

.github/workflows/build-windows-mingw.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -323,19 +323,37 @@ jobs:
323323
name: ${{ env.ARTIFACT_CD_NAME }}
324324
path: ${{ env.ISO_PATH }}
325325

326-
- name: Convert CD to USB iso image
326+
- name: Convert CD to USB iso image BIOS
327327
run: |
328-
cd build/bin
328+
rm -rf build/bin/bootusb_bios.img
329329
ls -la
330-
cp bootcd.iso bootusb.img
330+
cp build/bin/bootcd.iso build/bin/bootusb_bios.img
331+
ls -la build/bin/
332+
isohybrid build/bin/bootusb_bios.img
333+
334+
- name: Convert CD to USB iso image UEFI
335+
run: |
336+
rm -rf build/bin/bootusb_uefi.img
337+
ls -la
338+
cp build/bin/bootcd.iso build/bin/bootusb_uefi.img
339+
ls -la build/bin
340+
isohybrid --uefi build/bin/bootusb_uefi.img
341+
342+
- name: Convert CD to USB iso image GPT + EFI
343+
run: |
344+
rm -rf build/bin/bootusb_gpt.img
331345
ls -la
332-
isohybrid bootusb.img || true
346+
cp build/bin/bootcd.iso build/bin/bootusb_gpt.img
347+
ls -la build/bin
348+
isohybrid --uefi --gpt build/bin/bootusb_gpt.img
333349
334350
- name: Upload packed outputs
335351
uses: actions/upload-artifact@v4
336352
with:
337353
name: ${{ env.ARTIFACT_USB_NAME }}
338354
path: |
339355
build/bin/bootcd.iso
340-
build/bin/bootusb.img
356+
build/bin/bootusb_bios.img
357+
build/bin/bootusb_uefi.img
358+
build/bin/bootusb_gpt.img
341359

0 commit comments

Comments
 (0)