@@ -103,6 +103,12 @@ jobs:
103103 chmod +x $DIY_P2_SH
104104 cd openwrt
105105 $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+
106112
107113 - name : SSH connection to Actions
108114 uses : P3TERX/ssh2actions@v1.0.0
@@ -125,7 +131,7 @@ jobs:
125131 run : |
126132 cd openwrt
127133 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
129135 echo "::set-output name=status::success"
130136 grep '^CONFIG_TARGET.*DEVICE.*=y' .config | sed -r 's/.*DEVICE_(.*)=y/\1/' > DEVICE_NAME
131137 [ -s DEVICE_NAME ] && echo "DEVICE_NAME=_$(cat DEVICE_NAME)" >> $GITHUB_ENV
@@ -134,11 +140,12 @@ jobs:
134140 - name : Organize config and log files
135141 run : |
136142 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
142149
143150 - name : Check space usage
144151 if : (!cancelled())
0 commit comments