Revert "Update github-build.yml"

This commit is contained in:
星冉 2022-05-11 16:13:47 +08:00 committed by GitHub
parent c284c64f39
commit 1ec1cc4e4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ jobs:
# 获取 用户仓库 设置的 URL, 如果没有就输出 Github 地址 # 获取 用户仓库 设置的 URL, 如果没有就输出 Github 地址
URL="$(jq -r .homepage <(echo ${RESPONSE}))" URL="$(jq -r .homepage <(echo ${RESPONSE}))"
if [[ "${URL}" != "null" || "${URL}" != "" ]]; then if [ -n "${URL}" ]; then
echo "::set-output name=URL::${URL}" echo "::set-output name=URL::${URL}"
else else
echo "::set-output name=URL::${{ GITHUB.SERVER_URL }}/${{ GITHUB.REPOSITORY }}" echo "::set-output name=URL::${{ GITHUB.SERVER_URL }}/${{ GITHUB.REPOSITORY }}"