3 Commits

Author SHA1 Message Date
1c6bbe04f1 fix: 修正缩进
Some checks failed
Release / build (push) Failing after 1m25s
2026-04-23 21:35:58 +08:00
c7767edd4f fix: 使用阿里云 apk 镜像源 v3.20 2026-04-23 21:34:28 +08:00
cc9b2a5c76 fix: 添加阿里云镜像源 2026-04-23 21:19:49 +08:00

View File

@@ -15,6 +15,8 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
run: | run: |
# 使用阿里云 apk 镜像源
echo -e 'https://mirrors.aliyun.com/alpine/v3.20/main/\nhttps://mirrors.aliyun.com/alpine/v3.20/community/' > /etc/apk/repositories
apk add git bash apk add git bash
git clone https://hub.gaomia.site/titor/HxClaw.git /workspace/hxclaw git clone https://hub.gaomia.site/titor/HxClaw.git /workspace/hxclaw
cp -r /workspace/hxclaw/* /workspace/hxclaw/ cp -r /workspace/hxclaw/* /workspace/hxclaw/
@@ -41,6 +43,8 @@ jobs:
env: env:
GITEA_TOKEN: ${{ secrets.RELEASE_TOKEN }} GITEA_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: | run: |
# 使用阿里云 apk 镜像源
echo -e 'https://mirrors.aliyun.com/alpine/v3.20/main/\nhttps://mirrors.aliyun.com/alpine/v3.20/community/' > /etc/apk/repositories
apk add curl jq apk add curl jq
TAG_NAME="${GITHUB_REF#refs/tags/}" TAG_NAME="${GITHUB_REF#refs/tags/}"