use env instead of output

Contributes to CURA-8415
This commit is contained in:
Jelle Spijker 2023-08-18 23:17:55 +02:00
parent e6e867eb5f
commit 07f784a5d6
No known key found for this signature in database
GPG key ID: 034D1C0527888B65

View file

@ -81,7 +81,7 @@ jobs:
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)"
run: echo "label=$(if [ "${{ inputs.architecture }}" = "ARM64" ]; then echo 'self-hosted'; else echo 'macos-11'; fi)" >> $GITHUB_OUTPUT
cura-installer-create:
needs: [ get-runner-label ]