mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:28:59 +08:00
Use env
This commit is contained in:
parent
e9d481e32f
commit
76a7e667de
4
.github/workflows/cura-installer.yml
vendored
4
.github/workflows/cura-installer.yml
vendored
@ -275,6 +275,8 @@ jobs:
|
||||
|
||||
- name: Summarize the used Conan dependencies
|
||||
shell: python
|
||||
env:
|
||||
FULL_INSTALLER_FILENAME: ${{ steps.filename.outputs.FULL_INSTALLER_FILENAME }}
|
||||
run: |
|
||||
import os
|
||||
import json
|
||||
@ -296,7 +298,7 @@ jobs:
|
||||
|
||||
with open(output_env, "w") as f:
|
||||
f.write(content)
|
||||
f.writelines(f"# ${{ steps.filename.outputs.FULL_INSTALLER_FILENAME }} uses:\n")
|
||||
f.writelines(f"# { os.environ['FULL_INSTALLER_FILENAME'] } uses:\n")
|
||||
for dep in sorted_deps:
|
||||
f.writelines(f"{dep}\n")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user