This commit is contained in:
@@ -31,6 +31,22 @@ jobs:
|
|||||||
- name: 安装 git
|
- name: 安装 git
|
||||||
run: apk add --no-cache git
|
run: apk add --no-cache git
|
||||||
|
|
||||||
|
- name: Debug 网络环境
|
||||||
|
run: |
|
||||||
|
set -x
|
||||||
|
{
|
||||||
|
echo "=== /etc/hosts ==="
|
||||||
|
cat /etc/hosts
|
||||||
|
echo "=== getent hosts host.docker.internal ==="
|
||||||
|
getent hosts host.docker.internal || echo "NOT_RESOLVED"
|
||||||
|
echo "=== GITHUB_TOKEN len ==="
|
||||||
|
echo "len=${#GITHUB_TOKEN}"
|
||||||
|
echo "=== GITHUB_REPOSITORY ==="
|
||||||
|
echo "${GITHUB_REPOSITORY}"
|
||||||
|
echo "=== ping test ==="
|
||||||
|
wget -q -T 3 -O /dev/null http://host.docker.internal:3000/api/v1/version && echo HTTP_OK || echo HTTP_FAIL
|
||||||
|
} | tee /opt/freedom/workspace-debug.txt
|
||||||
|
|
||||||
- name: 拉取 master 代码
|
- name: 拉取 master 代码
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|||||||
Reference in New Issue
Block a user