mirror of
https://github.com/Dichgrem/Dwrt-build.git
synced 2025-12-16 21:51:59 -05:00
feat:diy.sh
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -77,6 +77,7 @@ jobs:
|
||||
- name: Setup configuration
|
||||
run: |
|
||||
echo "📋 校验并复制配置:${{ inputs.config_path }} → immortalwrt/.config"
|
||||
cp diy.sh immortalwrt/diy.sh
|
||||
if [ ! -f "${{ inputs.config_path }}" ]; then
|
||||
echo "❌ 找不到配置文件:${{ inputs.config_path }}"
|
||||
exit 1
|
||||
@@ -92,6 +93,13 @@ jobs:
|
||||
echo "⬇️ 下载所有源码包"
|
||||
make download -j8
|
||||
|
||||
- name: Run diy.sh
|
||||
working-directory: immortalwrt
|
||||
run: |
|
||||
echo "🔧 执行 diy.sh"
|
||||
chmod +x diy.sh
|
||||
./diy.sh
|
||||
|
||||
- name: Build ImmortalWrt
|
||||
working-directory: immortalwrt
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user