mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-08-08 18:31:47 +00:00
ci: hyperbole should import requests only when needed
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user