feat: import 放后面去

This commit is contained in:
shenjack 2022-12-29 17:30:04 +08:00
parent 6b059c3e14
commit 6b57408109

View File

@ -7,11 +7,13 @@
import os import os
import sys import sys
from Difficult_Rocket import DR_runtime
print(os.curdir) print(os.path.abspath(os.curdir))
print(os.listdir('.')) print(os.listdir('.'))
sys.path.append(os.path.abspath(os.curdir))
print(sys.path) print(sys.path)
from Difficult_Rocket import DR_runtime
os.system(f'echo "DR_version={DR_runtime.DR_version.__str__()}" >> $GITHUB_OUTPUT') os.system(f'echo "DR_version={DR_runtime.DR_version.__str__()}" >> $GITHUB_OUTPUT')