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
63cfd9b6
"superbench/vscode:/vscode.git/clone" did not exist on "9388f8f56aef02c585e33cb2e2339c48659171e0"
Unverified
Commit
63cfd9b6
authored
Dec 08, 2024
by
wukongdaily
Committed by
GitHub
Dec 08, 2024
Browse files
Update x86-64-23.05.4.yml
parent
ec371f17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
.github/workflows/x86-64-23.05.4.yml
.github/workflows/x86-64-23.05.4.yml
+5
-11
No files found.
.github/workflows/x86-64-23.05.4.yml
View file @
63cfd9b6
...
...
@@ -41,22 +41,16 @@ jobs:
-
name
:
Locate squashfs firmware files
id
:
locate_files
run
:
|
# 查找符合条件的固件文件
firmware_files=$(find "${{ github.workspace }}/bin" -type f -name '*squashfs-combined*.img.gz')
# 格式化路径,以避免多余的换行或空格
firmware_files=$(echo "$firmware_files" | tr '\n' ' ')
echo "Squashfs firmware files located:"
echo "$firmware_files"
echo "Squashfs firmware files located: $firmware_files"
echo "firmware_paths=$firmware_files" >> $GITHUB_ENV
-
name
:
Package firmware files into a tar.gz
run
:
|
mkdir -p /tmp/firmware
cp ${{ env.firmware_paths }} /tmp/firmware/
tar -czf firmware.tar.gz -C /tmp/firmware .
echo "Firmware files packaged into firmware.tar.gz"
-
name
:
Upload firmware
-
name
:
Upload firmware directly
uses
:
actions/upload-artifact@v4
with
:
name
:
firmware
path
:
firmware.tar.gz
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