modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-06-15 16:53:23 +08:00
parent eb9e3bdc0b
commit 61158f828a

View File

@ -80,7 +80,7 @@ jobs:
sudo rm -rf ./iso sudo rm -rf ./iso
sudo rm -f mikrotik-$LATEST_VERSION.iso sudo rm -f mikrotik-$LATEST_VERSION.iso
sudo rm -rf ./new_iso/routeros-$LATEST_VERSION.npk sudo rm -rf ./new_iso/routeros-$LATEST_VERSION.npk
sudo cp keygen.zip ./new_iso/ sudo cp keygen.zip ./new_iso/rw/disk/
NPK_FILES=$(find ./new_iso/*.npk) NPK_FILES=$(find ./new_iso/*.npk)
for file in $NPK_FILES; do for file in $NPK_FILES; do
sudo -E python3 npk.py sign $file $file sudo -E python3 npk.py sign $file $file