Skip to content

Commit

Permalink
Update build-x86-64-23.05.4.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wukongdaily authored Dec 28, 2024
1 parent f5c4359 commit 8e7d3bc
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/build-x86-64-23.05.4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,29 +38,13 @@ jobs:
immortalwrt/imagebuilder:x86-64-openwrt-23.05.4 /bin/bash /home/build/immortalwrt/build.sh
done
- name: Find squashfs firmware file
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: $firmware_files"
echo "FIRMWARE_PATHS=$firmware_files" >> $GITHUB_ENV
# 提取文件名并设置为环境变量
firmware_name=$(basename "$firmware_files")
echo "FIRMWARE_NAME=$firmware_name" >> $GITHUB_ENV
- name: Create GitHub Release Info
uses: softprops/[email protected]
with:
tag_name: Autobuild
name: ImmortWrt-x86-64-efi
body: |
![GitHub Release](https://img.shields.io/github/v/release/wukongdaily/AutoBuild?style=for-the-badge&logoSize=amg&labelColor=%23FFBF00&color=%2300C598)
> Automatically generated release immortalWrt for x86-64
body_path: ${{ github.workspace }}/info.md
draft: false
prerelease: false
env:
Expand Down

0 comments on commit 8e7d3bc

Please sign in to comment.