Unverified Commit 9035c6ba authored by wukongdaily's avatar wukongdaily Committed by GitHub
Browse files

Update build-rockchip.yml

parent d8bf7cbf
...@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment