run X64 on regular runners

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

View File

@ -75,8 +75,17 @@ env:
STAGING: ${{ inputs.staging }}
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:
runs-on: [ self-hosted, "${{ inputs.architecture }}" ]
needs: [ get-runner-label ]
runs-on: ${{ needs.get-runner-label.outputs.label }}
steps:
- name: Checkout