From af93bfb2ecb693441d574f2aad7b39e45f720442 Mon Sep 17 00:00:00 2001 From: Bo Chen Date: Thu, 2 Apr 2026 23:32:42 +0000 Subject: [PATCH] ci: Update release workflow from GCC5 to GCC toolchain The upstream edk2 project renamed the GCC5 toolchain to GCC in commits b38fea51eb and c20483b928. This caused OvmfPkg/build.sh to select the GCC toolchain, producing output in DEBUG_GCC/, while the workflow still looked for artifacts in DEBUG_GCC5/. As a result, the x86-64 build succeeded but no artifact was uploaded. Update the AArch64 build and both artifact paths to use GCC consistently. Signed-off-by: Bo Chen --- .github/workflows/release.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 03445f839238..ef2446139bd4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -33,7 +33,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: cloudhv-x64 - path: Build/CloudHvX64/DEBUG_GCC5/FV/CLOUDHV.fd + path: Build/CloudHvX64/DEBUG_GCC/FV/CLOUDHV.fd build-aarch64: name: Build AArch64 @@ -51,15 +51,15 @@ jobs: run: | source edksetup.sh make -C BaseTools - export GCC5_AARCH64_PREFIX=aarch64-linux-gnu- - build -p ArmVirtPkg/ArmVirtCloudHv.dsc -a AARCH64 -t GCC5 -b DEBUG \ + export GCC_AARCH64_PREFIX=aarch64-linux-gnu- + build -p ArmVirtPkg/ArmVirtCloudHv.dsc -a AARCH64 -t GCC -b DEBUG \ --pcd gEfiMdeModulePkgTokenSpaceGuid.PcdDxeNxMemoryProtectionPolicy=0xC000000000007FD1 - name: Upload AArch64 artifact if: github.event_name == 'create' && github.event.ref_type == 'tag' uses: actions/upload-artifact@v4 with: name: cloudhv-aarch64 - path: Build/ArmVirtCloudHv-AARCH64/DEBUG_GCC5/FV/CLOUDHV_EFI.fd + path: Build/ArmVirtCloudHv-AARCH64/DEBUG_GCC/FV/CLOUDHV_EFI.fd release: name: Release