Skip to content

Commit 6dbe6ce

Browse files
authored
Update openWrt-build.yml
1 parent fc679e5 commit 6dbe6ce

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/openWrt-build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@ jobs:
3232
run: |
3333
git clone --depth=1 https://github.com/openwrt/openwrt.git -b openwrt-25.12
3434
cd openwrt
35+
sed -i '1i src-git kenzo https://github.com/kenzok8/openwrt-packages' feeds.conf.default
36+
sed -i '2i src-git small https://github.com/kenzok8/small' feeds.conf.default
37+
./scripts/feeds update -a
38+
./scripts/feeds install -a
3539
chmod +x ../profiles/*.sh
3640
if [ -n "${{ inputs.target_profile }}" ]; then
37-
cp ../profiles/${{ inputs.target_profile }}.sh ${{ inputs.target_profile }}.sh
38-
./${{ inputs.target_profile }}.sh
41+
../profiles/${{ inputs.target_profile }}.sh
3942
fi
40-
./scripts/feeds update -a
41-
./scripts/feeds install -a
4243
4344
- name: 配置 OpenWrt(自动选择)
4445
run: |

0 commit comments

Comments
 (0)