From 13962a563e514d26975fa6c4765a864b7ec82bca Mon Sep 17 00:00:00 2001 From: Remco Burema Date: Thu, 7 Sep 2023 22:38:11 +0200 Subject: [PATCH] Make sure there is at least one run-info. part of CURA-9494 --- .github/workflows/installers.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/installers.yml b/.github/workflows/installers.yml index 3b77fa7697..4ebea0660b 100644 --- a/.github/workflows/installers.yml +++ b/.github/workflows/installers.yml @@ -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