mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-21 12:06:30 +00:00
Fix the condition for OS artifact download (#2891)
This commit is contained in:
parent
e4e4c62834
commit
d7e3a8b985
4
.github/workflows/test.yaml
vendored
4
.github/workflows/test.yaml
vendored
@ -50,12 +50,12 @@ jobs:
|
|||||||
pip install -r tests/requirements.txt
|
pip install -r tests/requirements.txt
|
||||||
|
|
||||||
- name: Download HAOS image
|
- name: Download HAOS image
|
||||||
if: ${{ inputs.use-artifact }}
|
if: ${{ !inputs.use-artifact }}
|
||||||
run: |
|
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
|
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
|
- name: Get OS image artifact
|
||||||
if: ${{ !inputs.use-artifact }}
|
if: ${{ inputs.use-artifact }}
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ova-image
|
name: ova-image
|
||||||
|
Loading…
x
Reference in New Issue
Block a user