mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-12-27 13:41:06 +00:00
Fix the condition for OS artifact download (#2891)
This commit is contained in:
4
.github/workflows/test.yaml
vendored
4
.github/workflows/test.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user