ci: 简化工作目录,修复 YAML 格式
Some checks failed
Release / build (push) Failing after 21s

This commit is contained in:
2026-04-12 03:19:12 +08:00
parent ebee173df9
commit 4fca6bc081

View File

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