Skip to content

Commit 9e6105d

Browse files
committed
[0.8.7] fix workflow import
1 parent 8a997ec commit 9e6105d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/compile-standalone.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
shell: python
2323
run: |
2424
import os
25+
import sys
26+
sys.path.insert(0, '.')
2527
from constant._version import __version__
2628
with open(os.environ['GITHUB_ENV'], 'a') as env_file:
2729
env_file.write(f'VERSION={__version__}\n')

.github/workflows/compile-universal.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
shell: python
2727
run: |
2828
import os
29+
import sys
30+
sys.path.insert(0, '.')
2931
from constant._version import __version__
3032
with open(os.environ['GITHUB_ENV'], 'a') as env_file:
3133
env_file.write(f'VERSION={__version__}\n')

0 commit comments

Comments
 (0)