3 Commits

Author SHA1 Message Date
98d0b5200b ci: 改用 /workspace 目录
Some checks failed
Release / build (push) Failing after 19s
2026-04-12 03:23:52 +08:00
af1c509257 ci: 修复 cp 错误
Some checks failed
Release / build (push) Failing after 1m38s
2026-04-12 03:21:55 +08:00
9b1c8b5566 ci: 添加 clone 步骤
Some checks failed
Release / build (push) Failing after 1m38s
2026-04-12 03:19:58 +08:00

View File

@@ -16,15 +16,15 @@ jobs:
- name: Checkout
run: |
apk add git bash
pwd
ls -la
rm -rf /workspace
git clone https://hub.gaomia.site/titor/hxclaw.git /workspace
- name: Download dependencies
run: |
go mod download
run: cd /workspace && go mod download
- name: Build
run: |
cd /workspace
for p in linux/amd64 linux/arm64 darwin/amd64 darwin/arm64 windows/amd64; do
os=${p%/*}
arch=${p#*/}
@@ -34,12 +34,13 @@ jobs:
done
- name: Checksums
run: sha256sum hxclaw-* > checksums.txt
run: cd /workspace && sha256sum hxclaw-* > checksums.txt
- name: Release
env:
GITEA_TOKEN: "${{ secrets.release_token }}"
run: |
cd /workspace
apk add curl jq
TAG_NAME="${GITHUB_REF#refs/tags/}"