From 4626870e1c9024b9b287c18abb7c2701615ab111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kope=C4=87?= Date: Tue, 21 Nov 2023 13:11:52 +0100 Subject: [PATCH] improve logging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Kopeć --- .github/workflows/dbx.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dbx.yml b/.github/workflows/dbx.yml index 02dc434ae2..9166128de5 100644 --- a/.github/workflows/dbx.yml +++ b/.github/workflows/dbx.yml @@ -19,7 +19,12 @@ jobs: - name: Check if DBX is up-to-date run: | - wget https://uefi.org/sites/default/files/resources/x64_DBXUpdate.bin + echo 'Fetching DBX from uefi.org' + wget https://uefi.org/sites/default/files/resources/x64_DBXUpdate.bin -o /dev/null + if [ $? -ne 0 ]; then + echo 'Failed to fetch latest DBX.' + exit 1 + fi diff <(sha256sum x64_DBXUpdate.bin | awk '{ print $1'}) <(sha256sum UefiPayloadPkg/SecureBootDefaultKeys/DBXUpdate.bin | awk '{ print $1'}) if [ $? -ne 0 ]; then echo 'UEFI DBX is out of date.'