Skip to content

Commit 5b2d5ba

Browse files
committed
stub
1 parent 929bc1a commit 5b2d5ba

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/build.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -95,24 +95,19 @@ jobs:
9595
9696
- name: Download package
9797
run: |
98-
cd project/friendlywrt
99-
make download -j8
100-
find dl -size -1024c -exec ls -l {} \;
101-
find dl -size -1024c -exec rm -f {} \;
98+
echo "stub download package"
10299
103100
- name: Compile friendlyWrt
104101
id: compile
105102
continue-on-error: true
106103
run: |
107-
cd project/friendlywrt
108-
make -j$(nproc) || make -j1 V=s
104+
echo "stub compile friendlywrt"
109105
echo $?
110106
111107
- name: Check the result and try again
112108
if: steps.compile.outcome == 'failure'
113109
run: |
114-
cd project/friendlywrt
115-
make -j1 V=s
110+
echo "stub compile friendlywrt2"
116111
117112
- name: Create rootfs package
118113
id: create_rootfs_package
@@ -121,8 +116,7 @@ jobs:
121116
source .current_config.mk
122117
[ "${{ matrix.SET }}" == "docker" ] && SUFFIX="-docker"
123118
rootfs_filename="rootfs-friendlywrt-${{ matrix.VERSION }}${SUFFIX}.tgz"
124-
tar cvzf ../artifact/${rootfs_filename} ${FRIENDLYWRT_SRC}/${FRIENDLYWRT_ROOTFS} \
125-
${FRIENDLYWRT_SRC}/${FRIENDLYWRT_PACKAGE_DIR}
119+
wget https://github.com/friendlyarm/Actions-FriendlyWrt/releases/download/FriendlyWrt-2024-04-03/${rootfs_filename} -O ../artifact/${rootfs_filename}
126120
echo "##[set-output name=rootfs_filename;]$rootfs_filename"
127121
128122
- name: Upload rootfs package

0 commit comments

Comments
 (0)