Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mgqnfoqv7k2w
AutoBuildImmortalWrt
Commits
80939206
Unverified
Commit
80939206
authored
Dec 07, 2024
by
wukongdaily
Committed by
GitHub
Dec 07, 2024
Browse files
Update multitarget-arm.yml
parent
fd0a7c5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
.github/workflows/multitarget-arm.yml
.github/workflows/multitarget-arm.yml
+7
-3
No files found.
.github/workflows/multitarget-arm.yml
View file @
80939206
...
...
@@ -21,11 +21,14 @@ jobs:
-
name
:
Setup Docker and Build
run
:
|
# 解析输入的 PROFILE 参数,将其拆分成数组
profiles=(${{ github.event.inputs.profile//,/ }})
# 获取手动输入的多个 profile,并按逗号分隔
profiles="${{ github.event.inputs.profile }}"
# 使用 IFS 将逗号分隔的字符串转换成数组
IFS=',' read -r -a profile_array <<< "$profiles"
# 遍历所有的 profile 并传递给 Docker
for profile in "${profile
s
[@]}"; do
for profile in "${profile
_array
[@]}"; do
echo "Building for profile: $profile"
docker run --rm -i \
...
...
@@ -51,3 +54,4 @@ jobs:
name
:
firmware
path
:
${{ env.firmware_paths }}
compression-level
:
0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment