ci: hyperbole should import requests only when needed

This commit is contained in:
Toby 2023-09-03 15:09:55 -07:00
parent 4aafb5e2da
commit 08372d972c
3 changed files with 3 additions and 3 deletions

View file

@ -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