fix: 使用阿里云 apk 镜像源 v3.20
This commit is contained in:
@@ -15,8 +15,8 @@ env:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
# 添加阿里云 apk 镜像源
|
# 使用阿里云 apk 镜像源
|
||||||
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
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/
|
||||||
@@ -43,8 +43,8 @@ env:
|
|||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
# 添加阿里云镜像源
|
# 使用阿里云 apk 镜像源
|
||||||
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
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/}"
|
||||||
|
|||||||
Reference in New Issue
Block a user