Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
57ac01d896
commit
c8ea7c0477
1 file changed
+4
-1
@@ -14,8 +14,11 @@ jobs:
|
||||
container:
|
||||
image: node:22-bookworm
|
||||
steps:
|
||||
# 实例内网地址在任务容器里解析不了,签出和 API 都走公网地址
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
github-server-url: https://git.garfieldho.me
|
||||
|
||||
- name: Resolve version
|
||||
id: ver
|
||||
@@ -51,7 +54,7 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
: "${TOKEN:?没有可用令牌:没有内置令牌,也没有配置 RELEASE_TOKEN}"
|
||||
API="${GITHUB_SERVER_URL}/api/v1/repos/${GITHUB_REPOSITORY}"
|
||||
API="https://git.garfieldho.me/api/v1/repos/${GITHUB_REPOSITORY}"
|
||||
AUTH="Authorization: token ${TOKEN}"
|
||||
|
||||
# 同一标签重跑:删掉旧 Release 再建,附件不会重复
|
||||
|
||||
Reference in new issue
Block a user