From 0dd62d0dc8ba9ab1d02229df91c646968ee49f23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Wei=C3=9Fe?= <66256922+daniel-weisse@users.noreply.github.com> Date: Fri, 6 Oct 2023 14:34:06 +0200 Subject: [PATCH] ci: ensure API is only updated if image and measurements are uploaded (#2413) 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: