From bfbea62b9069c72609a3a5ab3d814a79e211db2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Wei=C3=9Fe?= Date: Fri, 6 Oct 2023 09:36:20 +0200 Subject: [PATCH] Ensure versionsapi is only updated if image AND measurements are uploaded MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Weiße --- .github/workflows/build-os-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-os-image.yml b/.github/workflows/build-os-image.yml index 3a0b9851ab..22491176a5 100644 --- a/.github/workflows/build-os-image.yml +++ b/.github/workflows/build-os-image.yml @@ -649,7 +649,7 @@ jobs: --version=${{ needs.build-settings.outputs.imageVersion }} \ add-image-version-to-versionsapi: - needs: [upload-artifacts, build-settings] + needs: [upload-artifacts, upload-pcrs, build-settings] name: "Add image version to versionsapi" if: needs.build-settings.outputs.ref != '-' permissions: