mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 16: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
|
- name: Summarize the used Conan dependencies
|
||||||
shell: python
|
shell: python
|
||||||
|
env:
|
||||||
|
FULL_INSTALLER_FILENAME: ${{ steps.filename.outputs.FULL_INSTALLER_FILENAME }}
|
||||||
run: |
|
run: |
|
||||||
import os
|
import os
|
||||||
import json
|
import json
|
||||||
@ -296,7 +298,7 @@ jobs:
|
|||||||
|
|
||||||
with open(output_env, "w") as f:
|
with open(output_env, "w") as f:
|
||||||
f.write(content)
|
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:
|
for dep in sorted_deps:
|
||||||
f.writelines(f"{dep}\n")
|
f.writelines(f"{dep}\n")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user