Update Lean_x86.yml
This commit is contained in:
parent
764924356a
commit
346f2d2d0c
8
.github/workflows/Lean_x86.yml
vendored
8
.github/workflows/Lean_x86.yml
vendored
@ -110,14 +110,14 @@ jobs:
|
||||
if: env.UPLOAD_FIRMWARE == 'true' && !cancelled()
|
||||
run: |
|
||||
mkdir firmware && find openwrt/bin/targets/*/*/ -maxdepth 1 \
|
||||
-name "*kernel*" \
|
||||
-or -name "*factory*" \
|
||||
-or -name "*sysupgrade*" \
|
||||
-name "*image.iso" \
|
||||
-or -name "*squashfs-combined.img.gz" \
|
||||
| xargs -i mv -f {} ./firmware/
|
||||
cp openwrt/.config ./firmware/${{ env.date1 }}_${{ env.OPENWRT_NAME }}_${{ env.DEVICE_NAME }}.config
|
||||
cd firmware
|
||||
sudo -E apt-get -qq install rename
|
||||
rename 's/^/${{ env.date1 }}_${{ env.OPENWRT_NAME }}_/' *.bin
|
||||
rename 's/^/${{ env.date1 }}_${{ env.OPENWRT_NAME }}_/' *.iso
|
||||
rename 's/^/${{ env.date1 }}_${{ env.OPENWRT_NAME }}_/' *.img.gz
|
||||
echo "FIRMWARE=$PWD" >> $GITHUB_ENV
|
||||
echo "::set-output name=status::success"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user