mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 04:27:39 +03:00
ci: hyperbole should import requests only when needed
This commit is contained in:
parent
4aafb5e2da
commit
08372d972c
3 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,6 @@ import sys
|
|||
import subprocess
|
||||
import datetime
|
||||
import shutil
|
||||
import requests
|
||||
|
||||
# Hyperbole is the official build script for Hysteria.
|
||||
# Available environment variables for controlling the build:
|
||||
|
@ -348,6 +347,8 @@ def cmd_test(module=None):
|
|||
|
||||
|
||||
def cmd_publish(urgent=False):
|
||||
import requests
|
||||
|
||||
if not check_build_env():
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue