Browse Source
Update mikrotik_patch_6.yml
Signed-off-by: elseif <elseif@live.cn>
pull/55/head
elseif
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
.github/workflows/mikrotik_patch_6.yml
|
|
|
@ -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 |
|
|
|
|