Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Commit fffdf76

Browse files
author
星冉
authored
fix ding
1 parent 874bbc7 commit fffdf76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/sslt Go Build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ jobs:
8585
8686
# 获取 用户仓库 设置的 URL, 如果没有就输出 Github 地址
8787
URL="$(jq -r .homepage <(echo ${RESPONSE}))"
88-
if [[ "${URL}" != "null" || "${URL}" != "" ]]; then
89-
echo "::set-output name=URL::${URL}"
90-
else
88+
if [[ "${URL}" =~ (null|) ]]; then
9189
echo "::set-output name=URL::${{ GITHUB.SERVER_URL }}/${{ GITHUB.REPOSITORY }}"
90+
else
91+
echo "::set-output name=URL::${URL}"
9292
fi
9393
-
9494
name: Send dingding notify

0 commit comments

Comments
 (0)