-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5c4359
commit 8e7d3bc
Showing
1 changed file
with
1 addition
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|