modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-06-18 13:20:22 +08:00
parent 8e7c75a285
commit a2f734d91f

View File

@ -87,10 +87,10 @@ jobs:
run: |
sudo wget -nv -O netinstall-$LATEST_VERSION.zip https://download.mikrotik.com/routeros/$LATEST_VERSION/netinstall-$LATEST_VERSION.zip
sudo unzip netinstall-$LATEST_VERSION.zip
- name: Patch netinstall-${{ env.LATEST_VERSION }}.exe
- name: Patch netinstall.exe
run: |
sudo -E python3 patch.py netinstall netinstall-$LATEST_VERSION.exe
sudo zip netinstall-$LATEST_VERSION.zip ./netinstall-$LATEST_VERSION.exe
sudo -E python3 patch.py netinstall netinstall.exe
sudo zip netinstall-$LATEST_VERSION.zip ./netinstall.exe
- name: Get mikrotik-${{ env.LATEST_VERSION }}.iso