Update mikrotik_patch_7.yml

Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
elseif 2025-02-19 17:18:39 +08:00 committed by GitHub
parent 331df17ee7
commit cbe8254d84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -540,7 +540,6 @@ jobs:
merge-multiple: true
- name: Create Packages CSV File
run: |
sudo apt-get install ssh sshpass
for file in artifacts/latest_version_*.json; do
if [ -f "$file" ]; then
@ -550,7 +549,7 @@ jobs:
build_time=$(jq -r '.build_time' "$file")
has_patched_npk=$(jq -r '.patched' "$file")
echo "Arch: $arch, Channel: $channel, Latest Version: $latest_version,Build Time: $build_time,Has Patched NPK: $has_patched_npk"
if [ "${{ has_patched_npk }}" == "false" ]; then
if [ "$has_patched_npk" == "false" ]; then
OUTDIR="$latest_version-UNDONE"
else
OUTDIR="$latest_version"