Unverified Commit 07db6c18 authored by wukongdaily's avatar wukongdaily Committed by GitHub
Browse files

Update build.yml

parent cd3059d6
...@@ -22,9 +22,15 @@ jobs: ...@@ -22,9 +22,15 @@ jobs:
-v "${{ github.workspace }}/build.sh:/home/build/immortalwrt/build.sh" \ -v "${{ github.workspace }}/build.sh:/home/build/immortalwrt/build.sh" \
immortalwrt/imagebuilder:x86-64-openwrt-23.05.4 /bin/sh /home/build/immortalwrt/build.sh immortalwrt/imagebuilder:x86-64-openwrt-23.05.4 /bin/sh /home/build/immortalwrt/build.sh
- name: Locate firmware file
id: locate_file
run: |
firmware_file=$(find "${{ github.workspace }}/bin" -name '*squashfs-combined-efi.img.gz' | head -n 1)
echo "Firmware file located at $firmware_file"
echo "firmware_path=$firmware_file" >> $GITHUB_ENV
- name: Upload firmware - name: Upload firmware
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: firmware name: firmware
path: | path: ${{ env.firmware_path }}
/home/build/immortalwrt/bin/targets/x86/64/immortalwrt-23.05.4-x86-64-generic-squashfs-combined-efi.img.gz
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