Use architecture string from inputs

Contributes to CURA-8415
This commit is contained in:
Jelle Spijker 2023-08-18 23:02:09 +02:00
parent bc13ba8c24
commit 13b3082b00
No known key found for this signature in database
GPG key ID: 034D1C0527888B65

View file

@ -76,7 +76,7 @@ env:
jobs:
cura-installer-create:
runs-on: [ self-hosted ]
runs-on: [ self-hosted, "${{ inputs.architecture }}" ]
steps:
- name: Checkout
@ -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-${{ runner.arch }}"
installer_filename = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-macos-${{ inputs.architecture }}"
output_env = os.environ["GITHUB_OUTPUT"]
content = ""
if os.path.exists(output_env):