.github/workflows/测http-server.yaml
All checks were successful
/ job2 (push) Successful in -40s
/ job3 (push) Has been skipped
/ job1 (push) Successful in -40s
/ go-hashfiles (push) Successful in 17s
/ hashFiles (push) Successful in -8s
/ test-httpserver (push) Successful in 17s
/ test-timezone (push) Successful in 2s
/ Cache-Java-Test (push) Successful in 48s
/ opt_hostedtoolcache (push) Successful in 2s
All checks were successful
/ job2 (push) Successful in -40s
/ job3 (push) Has been skipped
/ job1 (push) Successful in -40s
/ go-hashfiles (push) Successful in 17s
/ hashFiles (push) Successful in -8s
/ test-httpserver (push) Successful in 17s
/ test-timezone (push) Successful in 2s
/ Cache-Java-Test (push) Successful in 48s
/ opt_hostedtoolcache (push) Successful in 2s
This commit is contained in:
1
.github/workflows/测http-server.yaml
vendored
1
.github/workflows/测http-server.yaml
vendored
@ -14,6 +14,7 @@ jobs:
|
|||||||
set -x
|
set -x
|
||||||
mkdir -p gitea
|
mkdir -p gitea
|
||||||
echo '<h1>hello world</h1>' > gitea/index.html
|
echo '<h1>hello world</h1>' > gitea/index.html
|
||||||
|
npm install -g http-server
|
||||||
npx http-server -p=4251 ./gitea &
|
npx http-server -p=4251 ./gitea &
|
||||||
SERVER_PID=$!
|
SERVER_PID=$!
|
||||||
sleep 10 # 等待服务器启动
|
sleep 10 # 等待服务器启动
|
||||||
|
Reference in New Issue
Block a user