modified: .github/workflows/mikrotik_patch.yml

This commit is contained in:
zyb 2024-06-15 08:05:56 +08:00
parent 82f8dd2c23
commit eb9e3bdc0b

View File

@ -80,6 +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/
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