mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-25 20:01:33 -07:00
Use env
This commit is contained in:
parent
e9d481e32f
commit
76a7e667de
1 changed files with 3 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue