Add files via upload

This commit is contained in:
桐话
2024-04-13 09:08:34 +08:00
committed by GitHub
parent 9a1f7366b1
commit 85dec8018d
+2 -2
View File
@@ -20,8 +20,8 @@ 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
FILES_PATH="./rk35xx/.config"
if [ -f "$FILES_PATH" ] && [ -s "$FILES_PATH" ]; then
FILE_PATH="./rk35xx/.config"
if [ -f "$FILE_PATH" ] && [ -s "$FILE_PATH" ]; then
content=$(cat ${GITHUB_WORKSPACE}/file/config_data.txt)
configdata=$(echo "$content" | sed 's/^[[:space:]]*//; s/[[:space:]]*$//')
sed -i "/CONFIG_TARGET_DEVICE_rockchip_.*=.*/d" ./rk35xx/.config