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
9340eb55
You need to sign in or sign up before continuing.
Unverified
Commit
9340eb55
authored
Dec 07, 2024
by
wukongdaily
Committed by
GitHub
Dec 07, 2024
Browse files
Update multitarget-arm.yml
parent
459bb0dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
.github/workflows/multitarget-arm.yml
.github/workflows/multitarget-arm.yml
+10
-2
No files found.
.github/workflows/multitarget-arm.yml
View file @
9340eb55
...
...
@@ -4,7 +4,7 @@ on:
workflow_dispatch
:
inputs
:
profile
:
description
:
'
Comma-separated
list
of
profile
s
'
description
:
'
手动输入的多个
profile
,并按逗号分隔
'
required
:
true
default
:
'
friendlyarm_nanopi-r3s,radxa_zero-3e'
...
...
@@ -21,7 +21,6 @@ jobs:
-
name
:
Setup Docker and Build
run
:
|
# 获取手动输入的多个 profile,并按逗号分隔
profiles="${{ github.event.inputs.profile }}"
# 使用 IFS 将逗号分隔的字符串转换成数组
...
...
@@ -43,11 +42,20 @@ jobs:
-
name
:
Locate squashfs firmware files
id
:
locate_files
run
:
|
# 使用 find 查找文件并将结果存入 firmware_files 变量
firmware_files=$(find "${{ github.workspace }}/bin" -type f -name '*squashfs*.img.gz')
# 确保路径使用逗号分隔
firmware_files=$(echo "$firmware_files" | tr '\n' ',')
# 输出找到的文件路径
echo "Squashfs firmware files located:"
echo "$firmware_files"
# 设置为环境变量,确保路径之间用逗号分隔
echo "firmware_paths=$firmware_files" >> $GITHUB_ENV
-
name
:
Upload firmware
uses
:
actions/upload-artifact@v4
with
:
...
...
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