Skip to content

Commit 9a0cb18

Browse files
committed
Update build-openwrt.yml
1 parent 8f1cd67 commit 9a0cb18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-openwrt.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ jobs:
116116
id: compile
117117
run: |
118118
cd ${GITHUB_WORKSPACE}/openwrt
119-
echo -e "$(nproc) thread compile"
120-
make -j$(nproc) || make -j1 V=s
119+
echo -e "$(($(nproc) * 2)) thread compile"
120+
make -j$(($(nproc) * 2)) || make -j1 V=s
121121
echo "status=success" >> $GITHUB_OUTPUT
122122
grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME
123123
[ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV

0 commit comments

Comments
 (0)