mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-30 04:15:12 +08:00
run X64 on regular runners
Contributes to CURA-8415
This commit is contained in:
parent
13b3082b00
commit
e6e867eb5f
11
.github/workflows/macos.yml
vendored
11
.github/workflows/macos.yml
vendored
@ -75,8 +75,17 @@ env:
|
|||||||
STAGING: ${{ inputs.staging }}
|
STAGING: ${{ inputs.staging }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
get-runner-label:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
label: ${{ steps.determine-label.outputs.label }} # You must define the specific step inside the job
|
||||||
|
steps:
|
||||||
|
- id: determine-label
|
||||||
|
run: echo "::set-output name=label::$(if [ "${{ inputs.architecture }}" = "ARM64" ]; then echo 'self-hosted'; else echo 'macos-11'; fi)"
|
||||||
|
|
||||||
cura-installer-create:
|
cura-installer-create:
|
||||||
runs-on: [ self-hosted, "${{ inputs.architecture }}" ]
|
needs: [ get-runner-label ]
|
||||||
|
runs-on: ${{ needs.get-runner-label.outputs.label }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user