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
9035c6ba
Unverified
Commit
9035c6ba
authored
Dec 07, 2024
by
wukongdaily
Committed by
GitHub
Dec 07, 2024
Browse files
Update build-rockchip.yml
parent
d8bf7cbf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
.github/workflows/build-rockchip.yml
.github/workflows/build-rockchip.yml
+7
-3
No files found.
.github/workflows/build-rockchip.yml
View file @
9035c6ba
...
@@ -41,15 +41,19 @@ jobs:
...
@@ -41,15 +41,19 @@ jobs:
id
:
locate_files
id
:
locate_files
run
:
|
run
:
|
firmware_files=$(find "${{ github.workspace }}/bin" -type f -name '*squashfs*.img.gz')
firmware_files=$(find "${{ github.workspace }}/bin" -type f -name '*squashfs*.img.gz')
firmware_files=$(echo "$firmware_files" | tr '\n' '
,
')
firmware_files=$(echo "$firmware_files" | tr '\n' '
')
echo "Squashfs firmware files located:"
echo "Squashfs firmware files located:"
echo "$firmware_files"
echo "$firmware_files"
echo "firmware_paths=$firmware_files" >> $GITHUB_ENV
echo "firmware_paths=$firmware_files" >> $GITHUB_ENV
-
name
:
Package firmware files into a tar.gz
run
:
|
tar -czf firmware.tar.gz ${{ env.firmware_paths }}
echo "Firmware files packaged into firmware.tar.gz"
-
name
:
Upload firmware
-
name
:
Upload firmware
uses
:
actions/upload-artifact@v4
uses
:
actions/upload-artifact@v4
with
:
with
:
name
:
firmware
name
:
firmware
path
:
${{ env.firmware_paths }}
path
:
firmware.tar.gz
compression-level
:
0
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