mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 01:59:17 +08:00
use runner context
Contributes to CURA-8415
This commit is contained in:
parent
3dcba69c33
commit
f5f0684284
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
@ -160,7 +160,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
import os
|
import os
|
||||||
enterprise = "-Enterprise" if "${{ inputs.enterprise }}" == "true" else ""
|
enterprise = "-Enterprise" if "${{ inputs.enterprise }}" == "true" else ""
|
||||||
installer_filename = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-macos-${{ inputs.arch }}"
|
installer_filename = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-macos-${{ runner.arch }}"
|
||||||
output_env = os.environ["GITHUB_OUTPUT"]
|
output_env = os.environ["GITHUB_OUTPUT"]
|
||||||
content = ""
|
content = ""
|
||||||
if os.path.exists(output_env):
|
if os.path.exists(output_env):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user