.github/workflows/测http-server.yaml
Some checks failed
/ opt_hostedtoolcache (push) Blocked by required conditions
/ hashFiles (push) Successful in -9s
/ test-timezone (push) Successful in 3s
/ test-httpserver (push) Failing after 5s
/ job3 (push) Has been skipped
/ job2 (push) Successful in 3s
/ job1 (push) Successful in -8s
/ Cache-Java-Test (push) Has been cancelled
/ go-hashfiles (push) Has been cancelled
Some checks failed
/ opt_hostedtoolcache (push) Blocked by required conditions
/ hashFiles (push) Successful in -9s
/ test-timezone (push) Successful in 3s
/ test-httpserver (push) Failing after 5s
/ job3 (push) Has been skipped
/ job2 (push) Successful in 3s
/ job1 (push) Successful in -8s
/ Cache-Java-Test (push) Has been cancelled
/ go-hashfiles (push) Has been cancelled
This commit is contained in:
4
.github/workflows/测http-server.yaml
vendored
4
.github/workflows/测http-server.yaml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
mkdir -p gitea
|
||||
echo '<h1>hello world</h1>' > gitea/index.html
|
||||
npx http-server -p=4251 ./gitea &
|
||||
SERVER_PID=$!
|
||||
sleep 1 # 等待服务器启动
|
||||
# SERVER_PID=$!
|
||||
# sleep 1 # 等待服务器启动
|
||||
curl http://localhost:4251/ -v
|
||||
kill $SERVER_PID
|
Reference in New Issue
Block a user