mirror of
https://huihui.cat/mirrors/MikroTikPatch.git
synced 2025-12-10 03:24:37 +01:00
Update mikrotik_patch_7.yml
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
0f2c5e6081
commit
b3579cb363
1 changed files with 2 additions and 3 deletions
5
.github/workflows/mikrotik_patch_7.yml
vendored
5
.github/workflows/mikrotik_patch_7.yml
vendored
|
|
@ -510,9 +510,8 @@ jobs:
|
|||
sudo apt-get install ssh sshpass
|
||||
for file in artifacts/latest_version_*.json; do
|
||||
if [ -f "$file" ]; then
|
||||
arch_channel=$(basename "$file" .json | sed 's/latest_version//')
|
||||
arch=$(echo "$arch_channel" | cut -d'_' -f1)
|
||||
channel=$(echo "$arch_channel" | cut -d'_' -f2)
|
||||
arch=$(jq -r '.arch' "$file")
|
||||
channel=$(jq -r '.channel' "$file")
|
||||
latest_version=$(jq -r '.latest_version' "$file")
|
||||
build_time=$(jq -r '.build_time' "$file")
|
||||
echo "Arch: $arch, Channel: $channel, Latest Version: $latest_version,Build Time: $build_time"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue