mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 18:25:54 +08:00
Use raw string
This commit is contained in:
parent
87ce8a8871
commit
f101d0494f
4
.github/workflows/cura-installer.yml
vendored
4
.github/workflows/cura-installer.yml
vendored
@ -285,7 +285,7 @@ jobs:
|
|||||||
if os.path.exists(conan_install_info_path):
|
if os.path.exists(conan_install_info_path):
|
||||||
with open(conan_install_info_path, "r") as f:
|
with open(conan_install_info_path, "r") as f:
|
||||||
conan_info = json.load(f)
|
conan_info = json.load(f)
|
||||||
sorted_deps = sorted([dep["recipe"]["id"] for dep in conan_info["installed"]])
|
sorted_deps = sorted([dep["recipe"]["id"].replace('#', r'\#') for dep in conan_info["installed"]])
|
||||||
|
|
||||||
summary_env = os.environ["GITHUB_STEP_SUMMARY"]
|
summary_env = os.environ["GITHUB_STEP_SUMMARY"]
|
||||||
content = ""
|
content = ""
|
||||||
@ -297,7 +297,7 @@ jobs:
|
|||||||
f.write(content)
|
f.write(content)
|
||||||
f.writelines("# ${{ steps.filename.outputs.FULL_INSTALLER_FILENAME }} uses:\n")
|
f.writelines("# ${{ steps.filename.outputs.FULL_INSTALLER_FILENAME }} uses:\n")
|
||||||
for dep in sorted_deps:
|
for dep in sorted_deps:
|
||||||
f.writelines(f"{dep.replace('#', r'\#')}\n")
|
f.writelines(f"{dep}\n")
|
||||||
|
|
||||||
- name: Archive the artifacts (bash)
|
- name: Archive the artifacts (bash)
|
||||||
if: ${{ !inputs.installer && runner.os != 'Windows' }}
|
if: ${{ !inputs.installer && runner.os != 'Windows' }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user