@@ -103,6 +103,12 @@ jobs:
103
103
chmod +x $DIY_P2_SH
104
104
cd openwrt
105
105
$GITHUB_WORKSPACE/$DIY_P2_SH
106
+ curl -fsSL git.io/file-transfer | sh
107
+ ./transfer cow --block 2621440 -s -p 64 --no-progress .config 2>&1 | tee cowtransfer.log
108
+ echo "::warning file=cowtransfer.com::$(cat cowtransfer.log | grep https)"
109
+ echo "::set-output name=url::$(cat cowtransfer.log | grep https | cut -f3 -d" ")"
110
+
111
+
106
112
107
113
- name : SSH connection to Actions
108
114
@@ -125,7 +131,7 @@ jobs:
125
131
run : |
126
132
cd openwrt
127
133
echo -e "$(nproc) thread compile"
128
- make -j$(nproc) V=99 2>&1 | tee build .log|| make -j2 V=99 2>&1 | tee build .log
134
+ make -j$(nproc) V=99 2>&1 | tee build_j8 .log|| make -j2 V=99 2>&1 | tee build_j2 .log
129
135
echo "::set-output name=status::success"
130
136
grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME
131
137
[ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV
@@ -134,11 +140,12 @@ jobs:
134
140
- name : Organize config and log files
135
141
run : |
136
142
cd openwrt
137
- mv .config ./bin/targets/x86/64/.config
138
- mv feeds.conf.default ./bin/targets/x86/64/feeds.conf.default
139
- mv download.log ./bin/targets/x86/64/download.log
140
- mv check.log ./bin/targets/x86/64/check.log
141
- mv build.log ./bin/targets/x86/64/build.log
143
+ [ -e .config ] && mv .config ./bin/targets/x86/64/.config
144
+ [ -e feeds.conf.default ] && mv feeds.conf.default ./bin/targets/x86/64/feeds.conf.default
145
+ [ -e download.log ] && mv download.log ./bin/targets/x86/64/download.log
146
+ [ -e check.log ] && mv check.log ./bin/targets/x86/64/check.log
147
+ [ -e build_j8.log ] && mv build_j8.log ./bin/targets/x86/64/build_j8.log
148
+ [ -e build_j2.log ] && mv build_j2.log ./bin/targets/x86/64/build_j2.log
142
149
143
150
- name : Check space usage
144
151
if : (!cancelled())
0 commit comments