reeeee
This commit is contained in:
parent
df196a220c
commit
a5f9e3ec1b
5
.github/workflows/get_info.py
vendored
5
.github/workflows/get_info.py
vendored
@ -9,9 +9,8 @@ import sys
|
||||
|
||||
sys.path.append(os.path.abspath(os.curdir))
|
||||
if '-env' not in sys.argv:
|
||||
print(os.path.abspath(os.curdir))
|
||||
print(os.listdir('.'))
|
||||
print(sys.path)
|
||||
print(sys.version)
|
||||
print(os.getenv('env:GITHUB_SHA'))
|
||||
|
||||
if os.path.abspath(os.curdir) in sys.path:
|
||||
from Difficult_Rocket import DR_runtime
|
||||
|
6
.github/workflows/nuitka.yml
vendored
6
.github/workflows/nuitka.yml
vendored
@ -50,8 +50,6 @@ jobs:
|
||||
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
|
||||
cache: 'pip'
|
||||
cache-dependency-path: '**/requirement*.txt'
|
||||
- name: Display Python version
|
||||
run: python -c "import sys; print(sys.version)"
|
||||
|
||||
# 安装依赖
|
||||
- name: Install env
|
||||
@ -60,13 +58,13 @@ jobs:
|
||||
pip install nuitka orderedset
|
||||
|
||||
# 提取 DR 版本和其他信息
|
||||
- name: Get Difficult-Rocket info
|
||||
- name: Display Difficult-Rocket info
|
||||
id: DR_info
|
||||
shell: pwsh
|
||||
run: |
|
||||
python .github/workflows/get_info.py
|
||||
$infos = python .github/workflows/get_info.py -env
|
||||
Write-Output $infos >> $env:GITHUB_ENV
|
||||
python .github/workflows/get_info.py
|
||||
|
||||
# 还是得我自己写脚本
|
||||
- name: Build on Windows
|
||||
|
Loading…
Reference in New Issue
Block a user