mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
2
.github/workflows/linux_arm64.yml
vendored
2
.github/workflows/linux_arm64.yml
vendored
@@ -76,6 +76,8 @@ jobs:
|
||||
printf "修改控制文件...\n"
|
||||
# 替换版本号
|
||||
sed -i "2s/version_need_change/${{ env.version }}/g" DEBIAN/control
|
||||
# 替换架构为 arm64
|
||||
sed -i "3s/Architecture: amd64/Architecture: arm64/g" DEBIAN/control
|
||||
# 计算安装大小并替换
|
||||
SIZE_KB=$(du -s -b --apparent-size . | awk '{print int($1)}')
|
||||
SIZE_KB=$(($SIZE_KB - $(du -s -b --apparent-size DEBIAN | awk '{print int($1)}')))
|
||||
|
||||
Reference in New Issue
Block a user