modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-06-24 15:32:54 +08:00
parent cdca1ee5ef
commit 98d8d3c1a1

View File

@ -105,13 +105,13 @@ jobs:
- name: Patch netinstall.exe
run: |
sudo unzip netinstall-$LATEST_VERSION.zip
sudo -E python3 patch.py netinstall netinstall.exe
sudo zip netinstall-$LATEST_VERSION.zip ./netinstall.exe
- name: Patch mikrotik-${{ env.LATEST_VERSION }}.iso
run: |
sudo apt-get install -y mkisofs > /dev/null
sudo unzip netinstall-$LATEST_VERSION.zip
sudo mkdir ./iso
sudo mount -o loop,ro mikrotik-$LATEST_VERSION.iso ./iso
sudo mkdir ./new_iso