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