Browse Source

Update mikrotik_patch_6.yml

Signed-off-by: elseif <elseif@live.cn>
pull/110/head
elseif 1 year ago
committed by GitHub
parent
commit
18bae23bf3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      .github/workflows/mikrotik_patch_6.yml

1
.github/workflows/mikrotik_patch_6.yml

@ -225,6 +225,7 @@ jobs:
- name: Create chr-${{ env.LATEST_VERSION }}.img - name: Create chr-${{ env.LATEST_VERSION }}.img
if: steps.get_latest.outputs.has_new_version == 'true' if: steps.get_latest.outputs.has_new_version == 'true'
run: | run: |
sudo apt-get install -y qemu-utils extlinux > /dev/null
sudo mkdir ./chr sudo mkdir ./chr
sudo cp chr.img chr-$LATEST_VERSION.img sudo cp chr.img chr-$LATEST_VERSION.img
sudo qemu-nbd -c /dev/nbd0 -f raw chr-$LATEST_VERSION.img sudo qemu-nbd -c /dev/nbd0 -f raw chr-$LATEST_VERSION.img

Loading…
Cancel
Save