use runner context

Contributes to CURA-8415
This commit is contained in:
Jelle Spijker 2023-08-18 22:05:50 +02:00
parent 3dcba69c33
commit f5f0684284
No known key found for this signature in database
GPG key ID: 034D1C0527888B65

View file

@ -160,7 +160,7 @@ jobs:
run: |
import os
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"]
content = ""
if os.path.exists(output_env):