Make sure there is at least one run-info.

part of CURA-9494
This commit is contained in:
Remco Burema 2023-09-07 22:38:11 +02:00
parent e1f2424f0e
commit 13962a563e

View file

@ -113,11 +113,26 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
# It's not necessary to download all three, but it does make sure we have at least one if an OS is skipped.
- name: Download the run info
if: ${{ contains(inputs.os_list, 'macos-x64') || contains(inputs.os_list, 'macos-arm64') }}
uses: actions/download-artifact@v2
with:
name: macos-run-info
- name: Download the run info II
if: ${{ contains(inputs.os_list, 'linux-modern') || contains(inputs.os_list, 'linux-legacy') }}
uses: actions/download-artifact@v2
with:
name: linux-run-info
- name: Download the run info III
if: ${{ contains(inputs.os_list, 'windows') }}
uses: actions/download-artifact@v2
with:
name: windows-run-info
- name: Set the run info as environment variables
run: |
. run_info.sh