Skip to content

Commit 522e0e2

Browse files
committed
fix: SDK artifacts FTP upload with rsync
1 parent 9dbaa91 commit 522e0e2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/immortalwrt-sdk-matrix-builder.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
versions:
2626
description: 'ImmortalWRT versions (comma-separated)'
2727
required: true
28-
default: '24.10.0,24.10.1,24.10.2,24.10.3'
28+
default: '24.10.0,24.10.1,24.10.2,24.10.3,24.10.4'
2929
nproc:
3030
description: 'Specify the number of threads to use it on the compiler'
3131
required: false
@@ -221,8 +221,9 @@ jobs:
221221
- name: Copy New Artifacts and Update Index
222222
run: |
223223
for artifact_dir in all-artifacts/sdk-*; do
224-
if [ -d "$artifact_dir" ]; then
225-
cp -rf "$artifact_dir"/* ftp-upload/
224+
if [ -d "$artifact_dir/bananawrt/sdk" ]; then
225+
echo "Copying from: $artifact_dir"
226+
rsync -av "$artifact_dir/bananawrt/sdk/" ftp-upload/bananawrt/sdk/
226227
fi
227228
done
228229

0 commit comments

Comments
 (0)