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
1f6032a3
Unverified
Commit
1f6032a3
authored
Jul 26, 2025
by
wukongdaily
Committed by
GitHub
Jul 26, 2025
Browse files
重命名固件名称ext4后缀
1、重命名固件名称ext4后缀 2、后缀带内核版本 3、输出rootfs.tar.gz
parent
80037e37
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
.github/workflows/build-N1.yml
.github/workflows/build-N1.yml
+3
-1
No files found.
.github/workflows/build-N1.yml
View file @
1f6032a3
...
@@ -103,7 +103,8 @@ jobs:
...
@@ -103,7 +103,8 @@ jobs:
echo "Image file is: $FILE"
echo "Image file is: $FILE"
FILENAME=$(basename "$FILE")
FILENAME=$(basename "$FILE")
echo "FILENAME=$FILENAME" >> $GITHUB_ENV
echo "FILENAME=$FILENAME" >> $GITHUB_ENV
mv "$FILE" "${{ env.PACKAGED_OUTPUTPATH }}/immortalwrt-24.10.2-phicomm-n1-squashfs-sysupgrade.img.gz"
KERNEL_VERSION=$(echo "$FILENAME" | grep -oP 'k\d+\.\d+\.\d+')
mv "$FILE" "${{ env.PACKAGED_OUTPUTPATH }}/immortalwrt-24.10.2-phicomm-n1-ext4-$KERNEL_VERSION.img.gz"
-
name
:
Upload firmware to GitHub Releases
-
name
:
Upload firmware to GitHub Releases
...
@@ -114,5 +115,6 @@ jobs:
...
@@ -114,5 +115,6 @@ jobs:
body_path
:
${{ github.workspace }}/n1/info.md
body_path
:
${{ github.workspace }}/n1/info.md
files
:
|
files
:
|
${{ env.PACKAGED_OUTPUTPATH }}/*.img.gz
${{ env.PACKAGED_OUTPUTPATH }}/*.img.gz
${{ github.workspace }}/bin/targets/armsr/armv8/*rootfs.tar.gz
env
:
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
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