feat: import 放后面去
This commit is contained in:
parent
6b059c3e14
commit
6b57408109
6
.github/workflows/get_info.py
vendored
6
.github/workflows/get_info.py
vendored
@ -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')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user