fix: 添加阿里云镜像源
This commit is contained in:
@@ -10,11 +10,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: golang:1.26-alpine
|
||||
env:
|
||||
env:
|
||||
GOPROXY: "https://mirrors.aliyun.com/goproxy/,direct"
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
# 添加阿里云 apk 镜像源
|
||||
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
apk add git bash
|
||||
git clone https://hub.gaomia.site/titor/HxClaw.git /workspace/hxclaw
|
||||
cp -r /workspace/hxclaw/* /workspace/hxclaw/
|
||||
@@ -41,6 +43,8 @@ jobs:
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||
run: |
|
||||
# 添加阿里云镜像源
|
||||
sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||
apk add curl jq
|
||||
|
||||
TAG_NAME="${GITHUB_REF#refs/tags/}"
|
||||
|
||||
Reference in New Issue
Block a user