@@ -14,15 +14,15 @@ jobs:
14
14
matrix :
15
15
model :
16
16
- nanopi-r4s
17
- - nanopi-r5s-mainline
17
+ - nanopi-r5s
18
18
- x86_64
19
19
tag :
20
20
- type : stable
21
21
version : openwrt-21.02
22
22
- type : rc
23
23
version : openwrt-22.03
24
24
exclude :
25
- - { model: nanopi-r5s-mainline , tag: { type: stable, version: openwrt-21.02 } }
25
+ - { model: nanopi-r5s, tag: { type: stable, version: openwrt-21.02 } }
26
26
27
27
steps :
28
28
- name : Checkout
39
39
40
40
- name : Set release env
41
41
run : |
42
- if [[ ${{ matrix.model }} == "nanopi-r5s " ]]; then
42
+ if [[ ${{ matrix.model }} == "null " ]]; then
43
43
echo "release=false" >> "$GITHUB_ENV"
44
44
fi
45
45
83
83
id : compileopenwrt
84
84
run : |
85
85
if [ "${{ matrix.model }}" = "nanopi-r5s" ]; then
86
- bash <(curl -sS ${{ secrets.script_url_nanopi_r5s }}) ${{ matrix.tag.type }}
87
- elif [ "${{ matrix.model }}" = "nanopi-r5s-mainline" ]; then
88
86
bash <(curl -sS ${{ secrets.script_url_general }}) ${{ matrix.tag.type }} r5s
89
87
elif [ "${{ matrix.model }}" = "x86_64" ]; then
90
88
bash <(curl -sS ${{ secrets.script_url_general }}) ${{ matrix.tag.type }} x86
@@ -105,11 +103,6 @@ jobs:
105
103
cp -a openwrt/bin/targets/rockchip/armv8/config.buildinfo info/config.buildinfo
106
104
cd rom && sha256sum *gz > ../info/sha256sums.txt
107
105
elif [ "${{ matrix.model }}" = "nanopi-r5s" ]; then
108
- cp -a rk356x_tools/out/*.gz rom/
109
- cp -a rk356x_tools/out/*.zip rom/
110
- cp -a rk356x_tools/out/*.txt info/
111
- cp -a rk356x_tools/out/*.buildinfo info/
112
- elif [ "${{ matrix.model }}" = "nanopi-r5s-mainline" ]; then
113
106
cp -a openwrt/bin/targets/rockchip/armv8/*.img.gz rom/
114
107
cp -a openwrt/bin/targets/rockchip/armv8/*-r5s.manifest info/manifest.txt
115
108
cp -a openwrt/bin/targets/rockchip/armv8/config.buildinfo info/config.buildinfo
@@ -156,13 +149,6 @@ jobs:
156
149
timeout 20m proxychains -q aliyundrive upload --retry 10 -f rom/*-r4s-ext4-sysupgrade.img.gz openwrt/hash/ || true
157
150
timeout 20m proxychains -q aliyundrive upload --retry 10 -f rom/*-r4s-squashfs-sysupgrade.img.gz openwrt/hash/ || true
158
151
elif [ "${{ matrix.model }}" = "nanopi-r5s" ]; then
159
- proxychains -q aliyundrive upload --retry 10 -f info/manifest.txt openwrt/hash/ || true
160
- proxychains -q aliyundrive upload --retry 10 -f info/config.buildinfo openwrt/hash/ || true
161
- proxychains -q aliyundrive upload --retry 10 -f info/sha256sums.txt openwrt/hash/ || true
162
- timeout 20m proxychains -q aliyundrive upload --retry 10 -f rom/*-r5s-emmc.img.zip openwrt/hash/ || true
163
- timeout 20m proxychains -q aliyundrive upload --retry 10 -f rom/*-r5s-squashfs-sysupgrade.img.gz openwrt/hash/ || true
164
- timeout 20m proxychains -q aliyundrive upload --retry 10 -f rom/*-r5s-ext4-sysupgrade.img.gz openwrt/hash/ || true
165
- elif [ "${{ matrix.model }}" = "nanopi-r5s-mainline" ]; then
166
152
proxychains -q aliyundrive upload --retry 10 -f info/manifest.txt openwrt/hash/ || true
167
153
proxychains -q aliyundrive upload --retry 10 -f info/config.buildinfo openwrt/hash/ || true
168
154
proxychains -q aliyundrive upload --retry 10 -f info/sha256sums.txt openwrt/hash/ || true
@@ -189,15 +175,6 @@ jobs:
189
175
timeout 15m proxychains -q aliyundrive upload --retry 10 -f rom/*-r4s-ext4-sysupgrade.img.gz openwrt/nanopi-r4s/releases/${{ matrix.tag.version }}/$version/ || true
190
176
timeout 15m proxychains -q aliyundrive upload --retry 10 -f rom/*-r4s-squashfs-sysupgrade.img.gz openwrt/nanopi-r4s/releases/${{ matrix.tag.version }}/$version/ || true
191
177
elif [ "${{ matrix.model }}" = "nanopi-r5s" ]; then
192
- version=$(cat openwrt/version.txt)
193
- proxychains -q aliyundrive mkdir openwrt/nanopi-r5s/releases/${{ matrix.tag.version }}/$version
194
- proxychains -q aliyundrive upload --retry 10 -f info/manifest.txt openwrt/nanopi-r5s/releases/${{ matrix.tag.version }}/$version/ || true
195
- proxychains -q aliyundrive upload --retry 10 -f info/config.buildinfo openwrt/nanopi-r5s/releases/${{ matrix.tag.version }}/$version/ || true
196
- proxychains -q aliyundrive upload --retry 10 -f info/sha256sums.txt openwrt/nanopi-r5s/releases/${{ matrix.tag.version }}/$version/ || true
197
- timeout 15m proxychains -q aliyundrive upload --retry 10 -f rom/*-r5s-emmc.img.zip openwrt/nanopi-r5s/releases/${{ matrix.tag.version }}/$version/ || true
198
- timeout 15m proxychains -q aliyundrive upload --retry 10 -f rom/*-r5s-squashfs-sysupgrade.img.gz openwrt/nanopi-r5s/releases/${{ matrix.tag.version }}/$version/ || true
199
- timeout 15m proxychains -q aliyundrive upload --retry 10 -f rom/*-r5s-ext4-sysupgrade.img.gz openwrt/nanopi-r5s/releases/${{ matrix.tag.version }}/$version/ || true
200
- elif [ "${{ matrix.model }}" = "nanopi-r5s-mainline" ]; then
201
178
version=$(cat openwrt/version.txt)
202
179
proxychains -q aliyundrive mkdir openwrt/nanopi-r5s/mainline/releases/${{ matrix.tag.version }}/$version
203
180
proxychains -q aliyundrive upload --retry 10 -f info/manifest.txt openwrt/nanopi-r5s/mainline/releases/${{ matrix.tag.version }}/$version/ || true
0 commit comments