mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 04:15:53 +08:00
Use architecture string from inputs
Contributes to CURA-8415
This commit is contained in:
parent
bc13ba8c24
commit
13b3082b00
4
.github/workflows/macos.yml
vendored
4
.github/workflows/macos.yml
vendored
@ -76,7 +76,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
cura-installer-create:
|
cura-installer-create:
|
||||||
runs-on: [ self-hosted ]
|
runs-on: [ self-hosted, "${{ inputs.architecture }}" ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -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-${{ runner.arch }}"
|
installer_filename = f"UltiMaker-Cura-{os.getenv('CURA_VERSION_FULL')}{enterprise}-macos-${{ inputs.architecture }}"
|
||||||
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