mirror of
http://124.126.16.154:8888/singularity/hyperf-admin.git
synced 2026-01-15 01:55:06 +08:00
chore(workflow): 更新发布工作流配置
- 替换 Debian 镜像源为阿里云镜像 - 优化 apt-get 更新和安装命令 - 修正工作流步骤名称大小写 - 保持工作流状态输出格式一致
This commit is contained in:
@@ -17,12 +17,14 @@ 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 \
|
||||||
https://nest.doylee.cn/api/packages/HDK/composer?version=${{ gitea.ref_name }}
|
https://nest.doylee.cn/api/packages/HDK/composer?version=${{ gitea.ref_name }}
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
Reference in New Issue
Block a user