"superbench/vscode:/vscode.git/clone" did not exist on "9388f8f56aef02c585e33cb2e2339c48659171e0"
Unverified Commit 63cfd9b6 authored by wukongdaily's avatar wukongdaily Committed by GitHub
Browse files

Update x86-64-23.05.4.yml

parent ec371f17
......@@ -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
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