✨ 更新 Gitea 发布工作流,修改输出信息格式以增强可读性
This commit is contained in:
parent
3db6cfcb17
commit
b3d99bfe93
@ -21,7 +21,7 @@ jobs:
|
||||
GITEA_API_URL: https://git.liteyuki.icu/api/v1 # 替换为你的 Gitea API 地址
|
||||
run: |
|
||||
TAG_NAME=$(echo $GITHUB_REF | sed 's/refs\/tags\///')
|
||||
echo ${{ github.repository }} ${{ github.repository_owner }} ${{ github.event.repository.name }}
|
||||
echo 'AAA ${{ github.repository }} ${{ github.repository_owner }} ${{ github.event.repository.name }}'
|
||||
curl -X POST "$GITEA_API_URL/repos/bot/yukilog/releases" \
|
||||
-H "Authorization: token $GITEA_TOKEN" \
|
||||
-H "Content-Type: application/json" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user