1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-02-15 07:29:08 +00:00

Remove duplicated step uploading ova QEMU image for the test job (#3011)

* Remove duplicated step uploading ova QEMU image for the test job

Instead of uploading the file twice with a fixed name, upload it in the
same step that is used for unpublished builds and pass the version string
to the test job.

* Update .github/workflows/test.yaml

Co-authored-by: Stefan Agner <stefan@agner.ch>

---------

Co-authored-by: Stefan Agner <stefan@agner.ch>
This commit is contained in:
Jan Čermák
2023-12-26 17:53:00 +01:00
committed by GitHub
parent 978e13b180
commit 364ca718fb
2 changed files with 9 additions and 10 deletions

View File

@@ -19,6 +19,10 @@ on:
required: false
type: boolean
default: true
version:
description: Version of HAOS to test (as used in the name of the qcow2 image artifact)
required: true
type: string
jobs:
test:
@@ -58,7 +62,7 @@ jobs:
if: ${{ inputs.use-artifact }}
uses: actions/download-artifact@v4
with:
name: ova-image
name: haos_ova-${{ inputs.version }}.qcow2.xz
- name: Extract OS image
run: |