add compat for workflow
This commit is contained in:
parent
893912fae3
commit
021ad2d5de
5
.github/workflows/get_info.py
vendored
5
.github/workflows/get_info.py
vendored
@ -10,13 +10,10 @@ import rtoml
|
|||||||
|
|
||||||
sys.path.append(os.path.abspath(os.curdir))
|
sys.path.append(os.path.abspath(os.curdir))
|
||||||
|
|
||||||
from Difficult_Rocket import DR_runtime
|
from Difficult_Rocket.runtime import DR_runtime
|
||||||
|
|
||||||
args = ['-env', '-github-dev']
|
args = ['-env', '-github-dev']
|
||||||
|
|
||||||
# print(sys.argv)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if sys.argv == [__file__]: # 没有输入参数,直接输出默认信息并输出
|
if sys.argv == [__file__]: # 没有输入参数,直接输出默认信息并输出
|
||||||
print(sys.version)
|
print(sys.version)
|
||||||
|
Loading…
Reference in New Issue
Block a user