2 Commits

Author SHA1 Message Date
ebee173df9 ci: 修复工作目录为 /workspace/titor/hxclaw
Some checks failed
Release / build (push) Failing after 19s
2026-04-12 03:18:00 +08:00
fa86bd5712 ci: 修复 go mod download 路径
Some checks failed
Release / build (push) Failing after 20s
2026-04-12 03:17:27 +08:00

View File

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