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
fd0a7c5a
Unverified
Commit
fd0a7c5a
authored
Dec 07, 2024
by
wukongdaily
Committed by
GitHub
Dec 07, 2024
Browse files
Update multitarget-arm.yml
parent
721b0099
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
.github/workflows/multitarget-arm.yml
.github/workflows/multitarget-arm.yml
+5
-2
No files found.
.github/workflows/multitarget-arm.yml
View file @
fd0a7c5a
...
...
@@ -6,7 +6,7 @@ on:
profile
:
description
:
'
Comma-separated
list
of
profiles'
required
:
true
default
:
'
radxa_zero-3e
,friendlyarm_nanopi-r
3
s'
default
:
'
friendlyarm_nanopi-r3s
,friendlyarm_nanopi-r
2
s'
jobs
:
build
:
...
...
@@ -21,7 +21,10 @@ jobs:
-
name
:
Setup Docker and Build
run
:
|
profiles=(${GITHUB_EVENT_INPUTS_PROFILE//,/ })
# 解析输入的 PROFILE 参数,将其拆分成数组
profiles=(${{ github.event.inputs.profile//,/ }})
# 遍历所有的 profile 并传递给 Docker
for profile in "${profiles[@]}"; do
echo "Building for profile: $profile"
...
...
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