Browse Source
Update mikrotik_patch_7.yml
Signed-off-by: elseif <elseif@live.cn>
pull/110/head
elseif
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
2 deletions
-
.github/workflows/mikrotik_patch_7.yml
|
|
@ -540,7 +540,6 @@ jobs: |
|
|
merge-multiple: true |
|
|
merge-multiple: true |
|
|
- name: Create Packages CSV File |
|
|
- name: Create Packages CSV File |
|
|
run: | |
|
|
run: | |
|
|
|
|
|
|
|
|
sudo apt-get install ssh sshpass |
|
|
sudo apt-get install ssh sshpass |
|
|
for file in artifacts/latest_version_*.json; do |
|
|
for file in artifacts/latest_version_*.json; do |
|
|
if [ -f "$file" ]; then |
|
|
if [ -f "$file" ]; then |
|
|
@ -550,7 +549,7 @@ jobs: |
|
|
build_time=$(jq -r '.build_time' "$file") |
|
|
build_time=$(jq -r '.build_time' "$file") |
|
|
has_patched_npk=$(jq -r '.patched' "$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" |
|
|
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" |
|
|
OUTDIR="$latest_version-UNDONE" |
|
|
else |
|
|
else |
|
|
OUTDIR="$latest_version" |
|
|
OUTDIR="$latest_version" |
|
|
|