From c681c9f8bf648333e8f9e6a6fcefcb04870ee5f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=90=E8=AF=9D?= <49544781+xiaomeng9597@users.noreply.github.com> Date: Fri, 5 Apr 2024 11:25:31 +0800 Subject: [PATCH] Add files via upload --- .github/workflows/sync-files.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-files.yml b/.github/workflows/sync-files.yml index af66d9f..b607929 100644 --- a/.github/workflows/sync-files.yml +++ b/.github/workflows/sync-files.yml @@ -20,13 +20,13 @@ jobs: wget -O ./rk35xx/feeds.conf https://fw0.koolcenter.com/iStoreOS/station-p2/feeds.conf --no-check-certificate wget -O ./rk35xx/.config https://fw0.koolcenter.com/iStoreOS/station-p2/config.buildinfo --no-check-certificate content=$(cat $GITHUB_WORKSPACE/file/model.txt) - model_string=$(echo "$content" | sed 's/^[[:space:]]*//; s/[[:space:]]*$//') + model_data=$(echo "$content" | sed 's/^[[:space:]]*//; s/[[:space:]]*$//') sed -i "/CONFIG_TARGET_DEVICE_rockchip_.*=.*/d" ./rk35xx/.config sed -i "/CONFIG_PACKAGE_dtc=y/d" ./rk35xx/.config # sed -i "/CONFIG_PACKAGE_luci-app-istorex=m/d" ./rk35xx/.config sed -i "/#\s*CONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_jp_tvbox\s*is\s*not\s*set/d" ./rk35xx/.config sed -i "/#\s*CONFIG_TARGET_DEVICE_rockchip_rk35xx_DEVICE_panther_x2\s*is\s*not\s*set/d" ./rk35xx/.config - echo -e "\\n$model_string" >> ./rk35xx/.config + echo -e "\\n$model_data" >> ./rk35xx/.config - name: 同步配置 uses: peaceiris/actions-gh-pages@v3