Skip to content

Commit 608de48

Browse files
committed
Update openwrt-23.05
Signed-off-by: jcleng <[email protected]>
1 parent 1f42c37 commit 608de48

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build-openwrt.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ jobs:
2424
steps:
2525
- name: Checkout
2626
uses: actions/checkout@main
27+
with:
28+
# 指定分支
29+
ref: 'main'
30+
# 之前一直使用的是openwrt-21.02
31+
# ref: 'openwrt-21.02'
2732

2833
- name: Initialization environment
2934
env:
@@ -43,7 +48,7 @@ jobs:
4348
# working-directory: /workdir
4449
run: |
4550
pwd
46-
git clone -b openwrt-21.02 --single-branch --depth=1 https://github.com/immortalwrt/immortalwrt openwrt
51+
git clone -b openwrt-23.05 --single-branch --depth=1 https://github.com/immortalwrt/immortalwrt openwrt
4752
# ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt
4853
ls -l
4954
# 插件包,不要可用注释
@@ -102,7 +107,7 @@ jobs:
102107
run: |
103108
cd openwrt
104109
find ./ -name *gcc
105-
make download -j8
110+
make download -j8 V=99
106111
rm -rf build.log
107112
# | grep -i error
108113
make -j$(expr $(nproc) + 12) V=99 2>&1 | tee build.log | grep -i error
@@ -127,7 +132,7 @@ jobs:
127132
run: |
128133
touch release.txt
129134
cd openwrt/bin/targets/*/*
130-
135+
131136
echo "RELEASE_PATH=$PWD" >> $GITHUB_ENV
132137
133138
- name: pack bin dir

0 commit comments

Comments
 (0)