Commit 7ac85bf 1 parent 02389b1 commit 7ac85bf Copy full SHA for 7ac85bf
File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -101,13 +101,11 @@ jobs:
101
101
- name : Compile the firmware
102
102
id : compile
103
103
run : |
104
- cd openwrt
104
+ cd openwrt/
105
105
echo -e "$(nproc) thread compile"
106
- make -j$(nproc) || make -j1 || make -j1 V=s
107
- echo "::set-output name=status::success"
108
- grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME
109
- [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV
110
- echo "FILE_DATE=_$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV
106
+ make -j$(($(nproc) + 1)) V=s || make -j1 || make -j1 V=s
107
+ echo "build_tag=OpenWrt_$(date +"%m.%d.%H%M")" >> ${GITHUB_OUTPUT}
108
+ echo "status=success" >> ${GITHUB_OUTPUT}
111
109
112
110
- name : Check space usage
113
111
if : (!cancelled())
You can’t perform that action at this time.
0 commit comments