Update mikrotik_patch_6.yml

Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
elseif 2024-08-19 19:24:52 +08:00 committed by GitHub
parent 73f15e63e7
commit ca24fa62b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -138,6 +138,7 @@ jobs:
if: steps.get_latest.outputs.has_new_version == 'true'
run: |
sudo modprobe nbd
sudo apt-get update
sudo apt-get install -y qemu-utils extlinux > /dev/null
truncate --size 64M install-image-$LATEST_VERSION.img
sudo qemu-nbd -c /dev/nbd0 -f raw install-image-$LATEST_VERSION.img