File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -280,13 +280,13 @@ jobs:
280280 [System.Environment]::SetEnvironmentVariable('PYTHONUTF8', '1', 'Process')
281281 # 设置控制台编码为UTF-8
282282 chcp.com 65001
283- python package/nuitka_build/v2/main.py --log-level ${{ inputs.log_level }} --not-exit-code ${{ inputs.not_exit_code }} ${{ inputs.config_path }}
283+ python package/nuitka_build/v2/main.py --log-level ${{ inputs.log_level }} ${{ ' --not-exit-code' if inputs.not_exit_code == 'true' else '' }} ${{ inputs.config_path }}
284284 shell : pwsh
285285
286286 - name : Run packaging script on Linux
287287 if : ${{ runner.os == 'Linux' }}
288288 run : |
289- python package/nuitka_build/v2/main.py --log-level ${{ inputs.log_level }} --not-exit-code ${{ inputs.not_exit_code }} ${{ inputs.config_path }}
289+ python package/nuitka_build/v2/main.py --log-level ${{ inputs.log_level }} ${{ ' --not-exit-code' if inputs.not_exit_code == 'true' else '' }} ${{ inputs.config_path }}
290290 shell : bash
291291
292292 - name : Get output name on Windows
You can’t perform that action at this time.
0 commit comments