chore(workflow): 更新发布工作流配置

- 替换 Debian 镜像源为阿里云镜像
- 优化 apt-get 更新和安装命令
- 修正工作流步骤名称大小写
- 保持工作流状态输出格式一致
This commit is contained in:
李东云
2025-09-26 17:03:22 +08:00
parent 43275f365c
commit db34c59acc

View File

@@ -17,10 +17,12 @@ jobs:
ls ${{ gitea.workspace }} ls ${{ gitea.workspace }}
- name: Zip files in the repository - name: Zip files in the repository
run: | run: |
sed -i 's|deb.debian.org|mirrors.aliyun.com|g' /etc/apt/sources.list
sed -i 's|security.debian.org|mirrors.aliyun.com|g' /etc/apt/sources.list
apt-get update apt-get update
apt-get install zip apt-get install zip
zip -r dist.zip * zip -r dist.zip *
- name: publish to registry - name: Publish to registry
run: | run: |
curl --user ch4o5:4fd300672472e666014314c1c94c604c634165a9 \ curl --user ch4o5:4fd300672472e666014314c1c94c604c634165a9 \
--upload-file ./dist.zip \ --upload-file ./dist.zip \