.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

This commit is contained in:
严浩
2025-01-14 19:24:37 +08:00
parent b8bc2de654
commit 3045dae060

View File

@ -14,6 +14,7 @@ jobs:
set -x
mkdir -p gitea
echo '<h1>hello world</h1>' > gitea/index.html
npm install -g http-server
npx http-server -p=4251 ./gitea &
SERVER_PID=$!
sleep 10 # 等待服务器启动