From d7e3a8b9856d1d722bbea1eb878069530fa5aff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Tue, 31 Oct 2023 14:08:49 +0100 Subject: [PATCH] Fix the condition for OS artifact download (#2891) --- .github/workflows/test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5aa9493e9..ed5caf89e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -50,12 +50,12 @@ jobs: pip install -r tests/requirements.txt - name: Download HAOS image - if: ${{ inputs.use-artifact }} + if: ${{ !inputs.use-artifact }} run: | curl -sfL -o haos.qcow2.xz https://os-artifacts.home-assistant.io/${{github.event.inputs.version}}/haos_ova-${{github.event.inputs.version}}.qcow2.xz - name: Get OS image artifact - if: ${{ !inputs.use-artifact }} + if: ${{ inputs.use-artifact }} uses: actions/download-artifact@v3 with: name: ova-image